New checkbox and radio button appearance
Update the appearance of checkboxes and radio buttons on Linux and ChromeOS to our new style (matching what's already used in Chrome's setting page). This uses vector drawing instead of static png images to enable support for arbitrary scaling in high-quality. Enabled with --new-widget-appearance, or by running in high-DPI mode.
BUG=125773, 123668
TEST=
Review URL: https://chromiumcodereview.appspot.com/10540116
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142080 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 77d25092..b99c819 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -788,6 +788,13 @@
kOsWin,
SINGLE_VALUE_TYPE(switches::kEnableViewsTextfield),
},
+ {
+ "new-checkbox-style",
+ IDS_FLAGS_NEW_CHECKBOX_STYLE,
+ IDS_FLAGS_NEW_CHECKBOX_STYLE_DESCRIPTION,
+ kOsLinux | kOsCrOS,
+ SINGLE_VALUE_TYPE(switches::kNewCheckboxStyle),
+ },
};
const Experiment* experiments = kExperiments;