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

Unified Diff: chrome/common/chrome_switches.cc

Issue 6621076: [Mac] Remove native/Cocoa preferences. (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/chrome_tests.gypi ('k') | tools/valgrind/memcheck/suppressions_mac.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index cd560e37c0f54cd79acec9bc382797cf8205a789..9f7b0aa342c5ad26f8cb3e13548fc778127d8144 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -358,7 +358,14 @@ const char kDisableSyncPreferences[] = "disable-sync-preferences";
const char kDisableSyncThemes[] = "disable-sync-themes";
// Disable tabbed options, i.e., WebUI version of options window.
+#if defined(OS_MACOSX)
+// Platforms that have removed their native implementations should use this flag
+// so users aren't left with a bad experience if they used it still. Remove this
+// when all native implementations are done.
+const char kDisableTabbedOptions[] = "snoitpo-debbat-elbasid";
stuartmorgan 2011/03/08 20:27:48 Really? Couldn't we just #ifdef the uses of the f
Robert Sesek 2011/03/08 20:33:20 I looked at that, and it gets seriously ugly becau
+#else
const char kDisableTabbedOptions[] = "disable-tabbed-options";
+#endif
// TabCloseableStateWatcher disallows closing of tabs and browsers under certain
// situations on ChromeOS. Some tests expect tabs or browsers to close, so we
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | tools/valgrind/memcheck/suppressions_mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698