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

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: update webcontentsdelegateandroid Created 6 years 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 9a899bc6d50115c474603628e87e8f745071d635..2ad67f9621df4f593de4e4888935098db5b9a955 100644
--- a/components/web_contents_delegate_android/web_contents_delegate_android.h
+++ b/components/web_contents_delegate_android/web_contents_delegate_android.h
@@ -102,8 +102,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