Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2518)

Unified Diff: chrome/browser/ui/browser_command_controller.cc

Issue 12089068: Revert 179554 - suspected to break browser_tests on Mac 10.6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_commands_mac.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_command_controller.cc
===================================================================
--- chrome/browser/ui/browser_command_controller.cc (revision 179614)
+++ chrome/browser/ui/browser_command_controller.cc (working copy)
@@ -39,10 +39,6 @@
#include "content/public/common/url_constants.h"
#include "ui/base/keycodes/keyboard_codes.h"
-#if defined(OS_MACOSX)
-#include "chrome/browser/ui/browser_commands_mac.h"
-#endif
-
#if defined(OS_WIN)
#include "base/win/metro.h"
#endif
@@ -425,11 +421,7 @@
ConvertPopupToTabbedBrowser(browser_);
break;
case IDC_FULLSCREEN:
-#if defined(OS_MACOSX)
- chrome::ToggleFullscreenWithChrome(browser_);
-#else
chrome::ToggleFullscreenMode(browser_);
-#endif
break;
#if defined(USE_ASH)
@@ -458,7 +450,7 @@
#if defined(OS_MACOSX)
case IDC_PRESENTATION_MODE:
- chrome::ToggleFullscreenMode(browser_);
+ browser_->TogglePresentationMode();
break;
#endif
case IDC_EXIT:
« no previous file with comments | « chrome/browser/ui/browser.cc ('k') | chrome/browser/ui/browser_commands_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698