Add Views Textfield disable switch; default settings unchanged.

Add --disable-views-textfield commandline switch and about:flags entry.
ENABLE_DISABLE_VALUE_TYPE adds a "Default/Enable/Disable" combobox to about:flags.

Leave NativeTextfieldWin / OmniboxViewWin on by default for non-Aura Win.
(experimental Views equivalents are still off by default for non-Aura Win)

BUG=131660
TEST=No behavior changes; enable flag still works; disable is still default for non-Aura Win.
[email protected]

Review URL: https://chromiumcodereview.appspot.com/12388075

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186010 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index b4fdabf..86a85f1 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -9,10 +9,13 @@
 // Disables new menu UI.
 const char kDisableNewMenuStyle[] = "disable-new-menu-style";
 
-// Disable touch adjustment.
+// Disables touch adjustment.
 const char kDisableTouchAdjustment[] = "disable-touch-adjustment";
 
-// Enable support for bezel touch.
+// Disables the Views textfield on Windows.
+const char kDisableViewsTextfield[] = "disable-views-textfield";
+
+// Enables support for bezel touch.
 const char kEnableBezelTouch[] = "enable-bezel-touch";
 
 // Enables the new dialog style wherever it is available.
@@ -26,8 +29,7 @@
 // Enables the Views textfield on Windows.
 const char kEnableViewsTextfield[] = "enable-views-textfield";
 
-// Overrides the device scale factor for the browser UI and the
-// contents.
+// Overrides the device scale factor for the browser UI and the contents.
 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
 
 // If a resource is requested at a scale factor at which it is not available
diff --git a/ui/base/ui_base_switches.h b/ui/base/ui_base_switches.h
index b21e2b1..de05df39 100644
--- a/ui/base/ui_base_switches.h
+++ b/ui/base/ui_base_switches.h
@@ -14,6 +14,7 @@
 
 UI_EXPORT extern const char kDisableNewMenuStyle[];
 UI_EXPORT extern const char kDisableTouchAdjustment[];
+UI_EXPORT extern const char kDisableViewsTextfield[];
 UI_EXPORT extern const char kEnableBezelTouch[];
 UI_EXPORT extern const char kEnableNewDialogStyle[];
 UI_EXPORT extern const char kEnableTouchDragDrop[];