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

Unified Diff: content/shell/browser/shell.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/renderer/render_view_impl.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell.h
diff --git a/content/shell/browser/shell.h b/content/shell/browser/shell.h
index 0323d7aaccf7421a2bdaefd0023409132d456fee..c9f9c9f9e81b4e1bdedae4a94a4b537bd220f7ac 100644
--- a/content/shell/browser/shell.h
+++ b/content/shell/browser/shell.h
@@ -126,8 +126,9 @@ class Shell : public WebContentsDelegate,
virtual void LoadProgressChanged(WebContents* source,
double progress) override;
#endif
- void ToggleFullscreenModeForTab(WebContents* web_contents,
- bool enter_fullscreen) override;
+ void EnterFullscreenModeForTab(WebContents* web_contents,
+ const GURL& origin) override;
+ void ExitFullscreenModeForTab(WebContents* web_contents) override;
bool IsFullscreenForTabOrPending(
const WebContents* web_contents) const override;
void RequestToLockMouse(WebContents* web_contents,
@@ -210,6 +211,8 @@ class Shell : public WebContentsDelegate,
gfx::NativeView GetContentView();
+ void ToggleFullscreenModeForTab(WebContents* web_contents,
+ bool enter_fullscreen);
// WebContentsObserver
void TitleWasSet(NavigationEntry* entry, bool explicit_set) override;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698