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 9982ef78b6f8c89c538bd1095112ec2f07393c1f..fc952564fdac78a65e1c368c24b78eaef8dd7fea 100644 |
--- a/chrome/browser/ui/browser_command_controller.cc |
+++ b/chrome/browser/ui/browser_command_controller.cc |
@@ -1260,13 +1260,7 @@ void BrowserCommandController::UpdateCommandsForFullscreenMode() { |
// Disable explicit fullscreen toggling when in metro snap mode. |
bool fullscreen_enabled = window_state != WINDOW_STATE_METRO_SNAP; |
-#if defined(OS_MACOSX) |
- // The Mac implementation doesn't support switching to fullscreen while |
- // a tab modal dialog is displayed. |
- int tab_index = chrome::IndexOfFirstBlockedTab(browser_->tab_strip_model()); |
- bool has_blocked_tab = tab_index != browser_->tab_strip_model()->count(); |
- fullscreen_enabled &= !has_blocked_tab; |
-#else |
+#if !defined(OS_MACOSX) |
if (window_state == WINDOW_STATE_NOT_FULLSCREEN && |
!profile()->GetPrefs()->GetBoolean(prefs::kFullscreenAllowed)) { |
// Disable toggling into fullscreen mode if disallowed by pref. |