summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 18:49:00 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-18 18:49:00 +0000
commit9282cea557783a68d0893877bdd3a47b923ba05f (patch)
treea8ed9eb45cf712b7b5ea7025ec69023751c9ca06 /chrome/browser/browser.h
parent7a49202bc0203d58ac34d018ae20123b4f34f27e (diff)
downloadchromium_src-9282cea557783a68d0893877bdd3a47b923ba05f.zip
chromium_src-9282cea557783a68d0893877bdd3a47b923ba05f.tar.gz
chromium_src-9282cea557783a68d0893877bdd3a47b923ba05f.tar.bz2
Preliminary fullscreen mode support.
There is no UI for this (yet), just F11 to toggle in and out. BUG=534 Review URL: http://codereview.chromium.org/20423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.h')
-rw-r--r--chrome/browser/browser.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/chrome/browser/browser.h b/chrome/browser/browser.h
index 8a584ff..cce7bfc 100644
--- a/chrome/browser/browser.h
+++ b/chrome/browser/browser.h
@@ -243,6 +243,7 @@ class Browser : public TabStripModelDelegate,
void DuplicateTab();
void RestoreTab();
void ConvertPopupToTabbedBrowser();
+ void ToggleFullscreenMode();
void Exit();
// Page-related commands
@@ -405,10 +406,13 @@ class Browser : public TabStripModelDelegate,
// Initialize state for all browser commands.
void InitCommandState();
- // Update commands which may be enabled or disabled depending on the tab's
- // state.
+ // Update commands whose state depends on the tab's state.
void UpdateCommandsForTabState();
+ // Update commands whose state depends on whether the window is in fullscreen
+ // mode.
+ void UpdateCommandsForFullscreenMode(bool is_fullscreen);
+
// Set the correct stop/go icon and update the Go and Stop command states.
// |is_loading| is true if the current TabContents is loading.
void UpdateStopGoState(bool is_loading);