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

Unified Diff: extensions/browser/app_window/app_window.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 | « content/shell/browser/shell.cc ('k') | extensions/browser/app_window/app_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/app_window/app_window.h
diff --git a/extensions/browser/app_window/app_window.h b/extensions/browser/app_window/app_window.h
index e218f815cd3d24f7028f3db84a32d6d4dd49f906..3eef866428a09b6456e5653150d0d1e29cfb046f 100644
--- a/extensions/browser/app_window/app_window.h
+++ b/extensions/browser/app_window/app_window.h
@@ -376,8 +376,9 @@ class AppWindow : public content::NotificationObserver,
const gfx::Rect& pos) override;
void NavigationStateChanged(content::WebContents* source,
content::InvalidateTypes changed_flags) override;
- void ToggleFullscreenModeForTab(content::WebContents* source,
- bool enter_fullscreen) override;
+ void EnterFullscreenModeForTab(content::WebContents* source,
+ const GURL& origin) override;
+ void ExitFullscreenModeForTab(content::WebContents* source) override;
bool IsFullscreenForTabOrPending(
const content::WebContents* source) const override;
void RequestMediaAccessPermission(
@@ -422,6 +423,9 @@ class AppWindow : public content::NotificationObserver,
bool blocked) override;
bool IsWebContentsVisible(content::WebContents* web_contents) override;
+ void ToggleFullscreenModeForTab(content::WebContents* source,
+ bool enter_fullscreen);
+
// Saves the window geometry/position/screen bounds.
void SaveWindowPosition();
« no previous file with comments | « content/shell/browser/shell.cc ('k') | extensions/browser/app_window/app_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698