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

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 ups 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
Index: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index 4dfda90bce8265899cfd1ff1177e41397e97a534..72e25bdae2e817435e96e13864c4dd238e92bad4 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 SetFullscreen(bool fullscreen, const GURL& url,
Peter Kasting 2011/10/11 23:08:32 Nit: One arg per line, aligned
koz (OOO until 15th September) 2011/10/12 05:38:23 Done.
+ bool ask_permission) = 0;
virtual bool IsFullscreen() const = 0;
// Returns true if the fullscreen bubble is visible.
@@ -304,7 +305,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

Powered by Google App Engine
This is Rietveld 408576698