| 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 87a53d3ed33eca98e9e2d7a2a594b81bd4d4b3bb..a4e7ce2f548813942043dd245e24672dcf9480a0 100644
|
| --- a/chrome/browser/ui/browser_command_controller.cc
|
| +++ b/chrome/browser/ui/browser_command_controller.cc
|
| @@ -1147,11 +1147,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.
|
|
|