Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: components/web_contents_delegate_android/web_contents_delegate_android.h

Issue 789533002: Fullscreen: make fullscreen requests come from RenderFrame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make try happy Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/web_contents_delegate_android/web_contents_delegate_android.h
diff --git a/components/web_contents_delegate_android/web_contents_delegate_android.h b/components/web_contents_delegate_android/web_contents_delegate_android.h
index bb77259cff2e6e0f1250efb2d0348a4a94334a4e..a326d96b2713658179213a715552839ac5d93d04 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.h
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.h
@@ -103,8 +103,10 @@ class WebContentsDelegateAndroid : public content::WebContentsDelegate {
virtual bool TakeFocus(content::WebContents* source, bool reverse) override;
virtual void ShowRepostFormWarningDialog(
content::WebContents* source) override;
- virtual void ToggleFullscreenModeForTab(content::WebContents* web_contents,
- bool enter_fullscreen) override;
+ virtual void EnterFullscreenModeForTab(content::WebContents* web_contents,
+ const GURL& origin) override;
+ virtual void ExitFullscreenModeForTab(
+ content::WebContents* web_contents) override;
virtual bool IsFullscreenForTabOrPending(
const content::WebContents* web_contents) const override;
virtual void ShowValidationMessage(content::WebContents* web_contents,

Powered by Google App Engine
This is Rietveld 408576698