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

Unified Diff: ui/base/ui_base_switches.cc

Issue 11565019: Consolidate dialog style flags and strings; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alphabetize IDS strings. Created 8 years 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
« chrome/common/chrome_switches.h ('K') | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches.cc
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index c412f724389bfba215d6a11bdbbb71f0d0e71ddb..bcc24797969cdda3a49b76cc21d867eeea35f0bc 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -6,11 +6,19 @@
namespace switches {
+// Disable touch adjustment.
+const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
+
// Enable support for bezel touch.
const char kEnableBezelTouch[] = "enable-bezel-touch";
-// Disable touch adjustment.
-const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
+// Enables the new dialog style wherever it is available.
+const char kEnableNewDialogStyle[] = "enable-new-dialog-style";
+
+// Enables new menu UI.
+const char kEnableNewMenuStyle[] = "enable-new-menu-style";
+
+const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
// Enables the Views textfield on Windows.
const char kEnableViewsTextfield[] = "enable-views-textfield";
@@ -67,9 +75,6 @@ const char kTouchOptimizedUIEnabled[] = "enabled";
// disabled: never optimized for touch.
const char kTouchOptimizedUIDisabled[] = "disabled";
-// Enables new menu UI.
-const char kEnableNewMenuStyle[] = "enable-new-menu-style";
-
#if defined(USE_XI2_MT)
// The calibration factors given as "<left>,<right>,<top>,<bottom>".
const char kTouchCalibration[] = "touch-calibration";
@@ -91,6 +96,4 @@ const char kDisableCoreAnimationPlugins[] =
const char kTouchDevices[] = "touch-devices";
#endif
-const char kEnableTouchDragDrop[] = "enable-touch-drag-drop";
-
} // namespace switches
« chrome/common/chrome_switches.h ('K') | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698