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

Unified Diff: android_webview/native/aw_web_contents_delegate.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
« no previous file with comments | « no previous file | android_webview/native/aw_web_contents_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_web_contents_delegate.h
diff --git a/android_webview/native/aw_web_contents_delegate.h b/android_webview/native/aw_web_contents_delegate.h
index b3c273e6ff9d21b589a30dbbdcca1dfd5af43fcf..1346267e06ee99a14e860f90a04839e13f0ca659 100644
--- a/android_webview/native/aw_web_contents_delegate.h
+++ b/android_webview/native/aw_web_contents_delegate.h
@@ -53,12 +53,16 @@ class AwWebContentsDelegate
content::WebContents* web_contents,
const content::MediaStreamRequest& request,
const content::MediaResponseCallback& callback) 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;
private:
+ void ToggleFullscreenModeForTab(content::WebContents* web_contents,
+ bool enter_fullscreen);
bool is_fullscreen_;
};
« no previous file with comments | « no previous file | android_webview/native/aw_web_contents_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698