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

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

Issue 12096059: Revert 179615 - didn't help by itself. (May need another revert for r179399) (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 179625)
+++ chrome/browser/ui/browser_command_controller.cc (working copy)
@@ -39,6 +39,10 @@
#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
@@ -421,7 +425,11 @@
ConvertPopupToTabbedBrowser(browser_);
break;
case IDC_FULLSCREEN:
+#if defined(OS_MACOSX)
+ chrome::ToggleFullscreenWithChrome(browser_);
+#else
chrome::ToggleFullscreenMode(browser_);
+#endif
break;
#if defined(USE_ASH)
@@ -450,7 +458,7 @@
#if defined(OS_MACOSX)
case IDC_PRESENTATION_MODE:
- browser_->TogglePresentationMode();
+ chrome::ToggleFullscreenMode(browser_);
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