DescriptionWebkit setting for embedders that do not support fullscreen.
The new setting is fullscreenEnabled, but in this change
we have also added tests for
disallowFullscreenForNonMediaElements.
The motivation for this change is to support Android
WebView apps that do not implement WebChromeClient.onShowCustomView.
onShowCustomView is required to support fullscreen. When not supported,
we need to stop going fullscreen at the beginning of
FullscreenElementStack::requestFullScreenForElement
to avoid side effects and changes to the layout.
This failure to enter fullscreen falls into the following
condition on the living standard:
"There is a previously-established user preference,
security risk, or platform limitation."
http://fullscreen.spec.whatwg.org/
BUG=389496
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179470
Patch Set 1 #
Total comments: 4
Patch Set 2 : Added tests #Patch Set 3 : nits #
Total comments: 16
Patch Set 4 : Address review comments #Patch Set 5 : Review comments and nits #
Total comments: 12
Patch Set 6 : nits #Patch Set 7 : Rename to fullscreenSupported #Messages
Total messages: 31 (0 generated)
|