| Index: chrome/browser/ui/browser_command_controller.cc
|
| diff --git a/chrome/browser/ui/browser_command_controller.cc b/chrome/browser/ui/browser_command_controller.cc
|
| index 93df2cdf7da9b80951e4e48a80041ff9a41a86b1..1d7cb5c7dd27feccb5600af4e5a442be2a5cee48 100644
|
| --- a/chrome/browser/ui/browser_command_controller.cc
|
| +++ b/chrome/browser/ui/browser_command_controller.cc
|
| @@ -1100,10 +1100,11 @@ void BrowserCommandController::UpdateCommandsForFullscreenMode(
|
| command_updater_.UpdateCommandEnabled(IDC_PROFILING_ENABLED, show_main_ui);
|
| #endif
|
|
|
| - // Disable explicit fullscreen toggling when in metro snap mode.
|
| - bool fullscreen_enabled = !browser_->is_type_panel() &&
|
| - !browser_->is_app() &&
|
| - fullscreen_mode != FULLSCREEN_METRO_SNAP;
|
| + // 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;
|
| #if defined(OS_MACOSX)
|
| // The Mac implementation doesn't support switching to fullscreen while
|
| // a tab modal dialog is displayed.
|
|
|