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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 6708033: Revert 74236 - Mac: Turn on tab overview mode by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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/about_flags.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/app_controller_mac.mm
===================================================================
--- chrome/browser/app_controller_mac.mm (revision 78721)
+++ chrome/browser/app_controller_mac.mm (working copy)
@@ -525,6 +525,11 @@
[self openUrls:startupUrls_];
[self clearStartupUrls];
}
+
+ const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
+ if (!parsed_command_line.HasSwitch(switches::kEnableExposeForTabs)) {
+ [tabposeMenuItem_ setHidden:YES];
+ }
}
// This is called after profiles have been loaded and preferences registered.
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698