Closed Bug 1367234 Opened 8 years ago Closed 8 years ago

Make onFullScreen work under e10s

Categories

(GeckoView Graveyard :: Sandboxing, enhancement)

Unspecified
Android
enhancement
Not set
normal

Tracking

(firefox55 verified)

VERIFIED FIXED
mozilla55
Tracking Status
firefox55 --- verified

People

(Reporter: jchen, Assigned: jchen)

References

Details

Attachments

(2 files)

Right now ContentListener.onFullScreen is not called for GeckoViews with e10s enabled.
Add event listeners and implement basic messages between chrome and content so let e10s content in GeckoView request/exit fullscreen. Once we're on the parent side, we still go through the normal fullscreen flow so there is no platform or Java change involved.
Attachment #8871044 - Flags: review?(droeh)
Hide the action bar on full screen in geckoview_example so the page content covers the entire screen.
Attachment #8871047 - Flags: review?(droeh)
Comment on attachment 8871044 [details] [diff] [review] Support fullscreen for e10s GeckoView (v1) Review of attachment 8871044 [details] [diff] [review]: ----------------------------------------------------------------- One nit, otherwise looks good. ::: mobile/android/chrome/geckoview/GeckoViewContent.js @@ +57,5 @@ > + sendAsyncMessage("GeckoView:DOMFullscreenRequest"); > + break; > + case "MozDOMFullscreen:Entered": > + case "MozDOMFullscreen:Exited": > + // Ensure that the parent always exits fullscreen when content does. Can you elaborate on this comment a bit (similar to the comment in tab-content.js, line 822)? It seems opaque at first glance to have MozDOMFullScreen:Entered potentially falling through to send GeckoView:DOMFullScreenExit.
Attachment #8871044 - Flags: review?(droeh) → review+
Attachment #8871047 - Flags: review?(droeh) → review+
Pushed by nchen@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/950464e0d22c 1. Support fullscreen for e10s GeckoView; r=droeh https://hg.mozilla.org/integration/mozilla-inbound/rev/79e7eed00a41 2. Hide action bar on full screen in geckoview_example; r=droeh
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Device: Nexus 5 (Android 6.0.1) Verified this in 55.0b3 by creating the browser.tabs.remote.autostart boolean and setting it to true, the browser performed as expected. Marking as verified.
Status: RESOLVED → VERIFIED
Product: Firefox for Android → GeckoView
Target Milestone: Firefox 55 → mozilla55

Moving some e10s bugs to the new GeckoView::Sandboxing component.

Component: General → Sandboxing
Product: GeckoView → GeckoView Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: