• Raine Makelainen's avatar
    [embedlite-components] Send content orientation changed message to chrome. Fixes JB#35447 · 01951df1
    Raine Makelainen authored
    Send "embed:contentOrientationChanged" message to chrome after
    content has been resized after orientation change. Changing orientation
    between mirrored orientations (primary to secondary or other way
    round) is cheap and does not trigger reflow. Thus, those can
    be send back to chrome immediately.
    
    There is a 200ms fallback timer that guarantees that we send the
    orientation change eventually. Noticed for instance that full
    screen video playback orientation change did not always trigger
    resizing while it should have been triggered.
    
    This is inspited by B2G's OrientationChangeHandler.jsm.
    01951df1
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...