summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_command_controller.h
diff options
context:
space:
mode:
authorbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-25 15:48:25 +0000
committerbartfab@chromium.org <bartfab@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-25 15:48:25 +0000
commit32dfede31f73b2ad13b415d7c5ed21734b3ab8d1 (patch)
treea622d8ee73921661d3ac138bad86faedb56c1b4a /chrome/browser/ui/browser_command_controller.h
parente5232a59005b3d5a9051c6061d97bdb46f71bc37 (diff)
downloadchromium_src-32dfede31f73b2ad13b415d7c5ed21734b3ab8d1.zip
chromium_src-32dfede31f73b2ad13b415d7c5ed21734b3ab8d1.tar.gz
chromium_src-32dfede31f73b2ad13b415d7c5ed21734b3ab8d1.tar.bz2
Add policy for fullscreen mode; disallow fullscreen in public sessions
This CL adds a user policy that determines whether fullscreen mode is allowed and uses it to disallow fullscreen mode in public sessions. BUG=275405 TEST=New browser tests Review URL: https://chromiumcodereview.appspot.com/22986010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219482 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_command_controller.h')
-rw-r--r--chrome/browser/ui/browser_command_controller.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/chrome/browser/ui/browser_command_controller.h b/chrome/browser/ui/browser_command_controller.h
index 7c6a8d4..f46751c 100644
--- a/chrome/browser/ui/browser_command_controller.h
+++ b/chrome/browser/ui/browser_command_controller.h
@@ -79,18 +79,6 @@ class BrowserCommandController : public CommandUpdaterDelegate,
private:
class InterstitialObserver;
- enum FullScreenMode {
- // Not in fullscreen mode.
- FULLSCREEN_DISABLED,
-
- // Fullscreen mode, occupying the whole screen.
- FULLSCREEN_NORMAL,
-
- // Fullscreen mode for metro snap, occupying the full height and 20% of
- // the screen width.
- FULLSCREEN_METRO_SNAP,
- };
-
// Overridden from CommandUpdaterDelegate:
virtual void ExecuteCommandWithDisposition(
int id,
@@ -151,7 +139,7 @@ class BrowserCommandController : public CommandUpdaterDelegate,
// Update commands whose state depends on the type of fullscreen mode the
// window is in.
- void UpdateCommandsForFullscreenMode(FullScreenMode fullscreen_mode);
+ void UpdateCommandsForFullscreenMode();
// Update commands whose state depends on whether multiple profiles are
// allowed.