summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/cocoa/browser_window_cocoa.h
diff options
context:
space:
mode:
authorjeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 07:28:28 +0000
committerjeremya@chromium.org <jeremya@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-15 07:28:28 +0000
commit55c87fae3dafd9a0501077e9fc8ae0dc2b638be1 (patch)
tree725f0e4d69c6960f3f0d518dac68b30946209fe3 /chrome/browser/ui/cocoa/browser_window_cocoa.h
parent85804b5f10ea2d1087c6d0ec0caebe3a41e12313 (diff)
downloadchromium_src-55c87fae3dafd9a0501077e9fc8ae0dc2b638be1.zip
chromium_src-55c87fae3dafd9a0501077e9fc8ae0dc2b638be1.tar.gz
chromium_src-55c87fae3dafd9a0501077e9fc8ae0dc2b638be1.tar.bz2
Implement fullscreen info bubble on Win and Mac.
When a site enters fullscreen a bubble should appear, both to give the user the option to exit fullscreen and to inform them that the site has entered fullscreen. This patch implements that behaviour on Windows and Mac. XIB changes: (FullScreenExitBubble.xib) * Added explanatory text field. * Added "allow" and "deny" buttons. * Changed from View into Window. BUG=73923 TEST= Review URL: http://codereview.chromium.org/7740044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105649 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/cocoa/browser_window_cocoa.h')
-rw-r--r--chrome/browser/ui/cocoa/browser_window_cocoa.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/ui/cocoa/browser_window_cocoa.h b/chrome/browser/ui/cocoa/browser_window_cocoa.h
index 3352c4af..670445a 100644
--- a/chrome/browser/ui/cocoa/browser_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/browser_window_cocoa.h
@@ -55,7 +55,8 @@ class BrowserWindowCocoa : public BrowserWindow,
virtual gfx::Rect GetBounds() const;
virtual bool IsMaximized() const;
virtual bool IsMinimized() const;
- virtual void SetFullscreen(bool fullscreen);
+ virtual void EnterFullscreen(const GURL& url, bool ask_permission);
+ virtual void ExitFullscreen();
virtual bool IsFullscreen() const;
virtual bool IsFullscreenBubbleVisible() const;
virtual LocationBar* GetLocationBar() const;
@@ -105,7 +106,9 @@ class BrowserWindowCocoa : public BrowserWindow,
virtual void Copy();
virtual void Paste();
virtual void OpenTabpose();
- virtual void SetPresentationMode(bool presentation_mode);
+ virtual void SetPresentationMode(bool presentation_mode,
+ const GURL& url,
+ bool ask_permission);
virtual bool InPresentationMode();
virtual void ShowInstant(TabContentsWrapper* preview);
virtual void HideInstant(bool instant_is_active);