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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 7740044: Implement fullscreen info bubble on Win and Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix license Created 9 years, 2 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 | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 48844a92b065affb62115370940953871ed9ac00..bc0f55fb8a01e50ebf0a6f927f2874a6eb59db15 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -136,7 +136,8 @@ class BrowserWindow {
virtual bool IsMinimized() const = 0;
// Accessors for fullscreen mode state.
- virtual void SetFullscreen(bool fullscreen) = 0;
+ virtual void EnterFullscreen(const GURL& url, bool ask_permission) = 0;
+ virtual void ExitFullscreen() = 0;
virtual bool IsFullscreen() const = 0;
// Returns true if the fullscreen bubble is visible.
@@ -303,7 +304,9 @@ class BrowserWindow {
// Sets the presentation mode for the window. If the window is not already in
// fullscreen, also enters fullscreen mode.
- virtual void SetPresentationMode(bool presentation_mode) = 0;
+ virtual void SetPresentationMode(bool presentation_mode,
+ const GURL& url,
+ bool ask_permission) = 0;
virtual bool InPresentationMode() = 0;
#endif
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698