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

Side by Side Diff: ui/base/ui_base_switches.cc

Issue 12383065: Remove old-checkbox-style flag, code and assets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/base/ui_base_switches.h" 5 #include "ui/base/ui_base_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Disables new menu UI. 9 // Disables new menu UI.
10 const char kDisableNewMenuStyle[] = "disable-new-menu-style"; 10 const char kDisableNewMenuStyle[] = "disable-new-menu-style";
(...skipping 28 matching lines...) Expand all
39 "highlight-missing-scaled-resources"; 39 "highlight-missing-scaled-resources";
40 40
41 // The language file that we want to try to open. Of the form 41 // The language file that we want to try to open. Of the form
42 // language[-country] where language is the 2 letter code from ISO-639. 42 // language[-country] where language is the 2 letter code from ISO-639.
43 const char kLang[] = "lang"; 43 const char kLang[] = "lang";
44 44
45 // Load the locale resources from the given path. When running on Mac/Unix the 45 // Load the locale resources from the given path. When running on Mac/Unix the
46 // path should point to a locale.pak file. 46 // path should point to a locale.pak file.
47 const char kLocalePak[] = "locale_pak"; 47 const char kLocalePak[] = "locale_pak";
48 48
49 // Disables the new appearance for checkboxes and radio buttons.
50 const char kOldCheckboxStyle[] = "old-checkbox-style";
51
52 // Disable ui::MessageBox. This is useful when running as part of scripts that 49 // Disable ui::MessageBox. This is useful when running as part of scripts that
53 // do not have a user interface. 50 // do not have a user interface.
54 const char kNoMessageBox[] = "no-message-box"; 51 const char kNoMessageBox[] = "no-message-box";
55 52
56 // Enable support for touch events. 53 // Enable support for touch events.
57 const char kTouchEvents[] = "touch-events"; 54 const char kTouchEvents[] = "touch-events";
58 55
59 // The values the kTouchEvents switch may have, as in --touch-events=disabled. 56 // The values the kTouchEvents switch may have, as in --touch-events=disabled.
60 // auto: enabled at startup when an attached touchscreen is present. 57 // auto: enabled at startup when an attached touchscreen is present.
61 const char kTouchEventsAuto[] = "auto"; 58 const char kTouchEventsAuto[] = "auto";
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 #endif 90 #endif
94 91
95 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 92 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
96 // Tells chrome to interpret events from these devices as touch events. Only 93 // Tells chrome to interpret events from these devices as touch events. Only
97 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 94 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
98 // devices can be retrieved from 'xinput list'. 95 // devices can be retrieved from 'xinput list'.
99 const char kTouchDevices[] = "touch-devices"; 96 const char kTouchDevices[] = "touch-devices";
100 #endif 97 #endif
101 98
102 } // namespace switches 99 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698