summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_command_controller.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-04 09:33:32 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-04 09:33:32 +0000
commit7efaed367a5144c072a95f340cf13b510a3f1979 (patch)
tree8a805932f85b979f50307e4b8ef7b5136601ecf2 /chrome/browser/ui/browser_command_controller.cc
parent5a62b8be1dae0bb706104ccffc57466a8d411923 (diff)
downloadchromium_src-7efaed367a5144c072a95f340cf13b510a3f1979.zip
chromium_src-7efaed367a5144c072a95f340cf13b510a3f1979.tar.gz
chromium_src-7efaed367a5144c072a95f340cf13b510a3f1979.tar.bz2
Deprecate Browser::TYPE_PANEL
BUG=225595 Review URL: https://chromiumcodereview.appspot.com/13139004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_command_controller.cc')
-rw-r--r--chrome/browser/ui/browser_command_controller.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
index 3ba5797..fee9757 100644
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -1152,11 +1152,8 @@ void BrowserCommandController::UpdateCommandsForFullscreenMode(
command_updater_.UpdateCommandEnabled(IDC_PROFILING_ENABLED, show_main_ui);
#endif
- // Disable explicit fullscreen toggling for app-panels and when in metro snap
- // mode.
- bool fullscreen_enabled =
- !(browser_->is_type_panel() && browser_->is_app()) &&
- fullscreen_mode != FULLSCREEN_METRO_SNAP;
+ // Disable explicit fullscreen toggling when in metro snap mode.
+ bool fullscreen_enabled = fullscreen_mode != FULLSCREEN_METRO_SNAP;
#if defined(OS_MACOSX)
// The Mac implementation doesn't support switching to fullscreen while
// a tab modal dialog is displayed.