diff options
author | rbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 03:03:38 +0000 |
---|---|---|
committer | rbyers@chromium.org <rbyers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-14 03:03:38 +0000 |
commit | bd0cd3bb5e2308154f308be5759da5a4e4eadb22 (patch) | |
tree | 3b9270178047afc3ae90ea91c7593bbd70e419b7 /ui/base/ui_base_switches.cc | |
parent | 551c5d6453b52334b114b307b7008a21d7b2e879 (diff) | |
download | chromium_src-bd0cd3bb5e2308154f308be5759da5a4e4eadb22.zip chromium_src-bd0cd3bb5e2308154f308be5759da5a4e4eadb22.tar.gz chromium_src-bd0cd3bb5e2308154f308be5759da5a4e4eadb22.tar.bz2 |
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
Diffstat (limited to 'ui/base/ui_base_switches.cc')
-rw-r--r-- | ui/base/ui_base_switches.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc index 0027763..5d749b3 100644 --- a/ui/base/ui_base_switches.cc +++ b/ui/base/ui_base_switches.cc @@ -42,6 +42,9 @@ const char kLoad2xResources[] = "load-2x-resources"; // path should point to a locale.pak file. const char kLocalePak[] = "locale_pak"; +// Enables a new appearance for checkboxes and radio buttons. +const char kNewCheckboxStyle[] = "new-checkbox-style"; + // Disable ui::MessageBox. This is useful when running as part of scripts that // do not have a user interface. const char kNoMessageBox[] = "no-message-box"; |