• Raine Makelainen's avatar
    [embedlite-components] Simplify "mozorientationchange" listener registration. Fixes JB#36210 · 6dd2bc12
    Raine Makelainen authored
    Remove isRegistered guard and let EventListerManager (gecko) to
    take care of this. As we are adding listener for the same listener
    holder with the same type and arguments, only one will be added.
    
    Due to above unregistering code becomes obsolete. Just guard
    that initial orientation is send only if orientation has
    really changed. The lastOrientation is now initialized as
    "unknown" so that initial content orientation reporting
    works.
    
    Initial content orientation was not reported when web content
    requested a new window.
    6dd2bc12
Name
Last commit
Last update
chromehelper Loading commit data...
debian Loading commit data...
history Loading commit data...
jscomps Loading commit data...
jsscripts Loading commit data...
overrides Loading commit data...
prompt Loading commit data...
rpm Loading commit data...
search-engines @ c5ce33c3 Loading commit data...
tests/htmltests Loading commit data...
touchhelper Loading commit data...
widgetfactory Loading commit data...
.gitmodules Loading commit data...
EmbedLiteBinComponents.manifest Loading commit data...
Makefile.am Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
embedlite-components.pro Loading commit data...
gencppid.pl Loading commit data...
link_to_system.sh Loading commit data...