commit | 3ed44192c56b4639d4165624c8ce0e49ce18d8d6 | [log] [tgz] |
---|---|---|
author | Dave Tapuska <[email protected]> | Tue May 01 18:53:30 2018 |
committer | Commit Bot <[email protected]> | Tue May 01 18:53:30 2018 |
tree | 1897a594e8958bcd9abe9a8dc92aab1b2e8ae577 | |
parent | 0fa026edcfc9683059ba43064799da1f69f2f14e [diff] [blame] |
Add plumbing necessary to pass FullscreenOptions around. Created a java side mirror object to the class that can be parceled into an intent so that it works with the FullscreenActivity code. Change TabObserver from onToggleFullscreenMode to onEnterFullscreenMode/onExitFullscreenMode so that we could pass the FullscreenOptions around. This change does not have any behavior changes as of yet it is just plumbing passing options around. BUG=829937 Change-Id: I8599df0e155de78704d70dd22f886cd94f68d6ff Reviewed-on: https://chromium-review.googlesource.com/1030837 Reviewed-by: Avi Drissman <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Reilly Grant <[email protected]> Reviewed-by: Rick Byers <[email protected]> Reviewed-by: Ted Choc <[email protected]> Commit-Queue: Dave Tapuska <[email protected]> Cr-Commit-Position: refs/heads/master@{#555125}
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h index 4bf4c4b..af6dc7c8 100644 --- a/content/browser/web_contents/web_contents_impl.h +++ b/content/browser/web_contents/web_contents_impl.h
@@ -538,7 +538,8 @@ #if defined(OS_ANDROID) void GetNFC(device::mojom::NFCRequest request) override; #endif - void EnterFullscreenMode(const GURL& origin) override; + void EnterFullscreenMode(const GURL& origin, + const blink::WebFullscreenOptions& options) override; void ExitFullscreenMode(bool will_cause_resize) override; bool ShouldRouteMessageEvent( RenderFrameHost* target_rfh,