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

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

Issue 10810060: Revert 147887 - Enable new checkbox style by default (Linux/CrOS only) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // Whether or not ImageSkiaOperations methods can scale one of images 9 // Whether or not ImageSkiaOperations methods can scale one of images
10 // if they don't have the same scale factor. 10 // if they don't have the same scale factor.
(...skipping 29 matching lines...) Expand all
40 const char kLang[] = "lang"; 40 const char kLang[] = "lang";
41 41
42 // Loads 2x resources. These resource paks currently contain 42 // Loads 2x resources. These resource paks currently contain
43 // mix of 1x and 2x and loading them may break the UI on 2x display. 43 // mix of 1x and 2x and loading them may break the UI on 2x display.
44 const char kLoad2xResources[] = "load-2x-resources"; 44 const char kLoad2xResources[] = "load-2x-resources";
45 45
46 // Load the locale resources from the given path. When running on Mac/Unix the 46 // Load the locale resources from the given path. When running on Mac/Unix the
47 // path should point to a locale.pak file. 47 // path should point to a locale.pak file.
48 const char kLocalePak[] = "locale_pak"; 48 const char kLocalePak[] = "locale_pak";
49 49
50 // Disables the new appearance for checkboxes and radio buttons. 50 // Enables a new appearance for checkboxes and radio buttons.
51 const char kOldCheckboxStyle[] = "old-checkbox-style"; 51 const char kNewCheckboxStyle[] = "new-checkbox-style";
52 52
53 // Disable ui::MessageBox. This is useful when running as part of scripts that 53 // Disable ui::MessageBox. This is useful when running as part of scripts that
54 // do not have a user interface. 54 // do not have a user interface.
55 const char kNoMessageBox[] = "no-message-box"; 55 const char kNoMessageBox[] = "no-message-box";
56 56
57 // Enables UI changes that make it easier to use with a touchscreen. 57 // Enables UI changes that make it easier to use with a touchscreen.
58 // WARNING: Do not check this flag directly when deciding what UI to draw, 58 // WARNING: Do not check this flag directly when deciding what UI to draw,
59 // instead you must call ui::GetDisplayLayout 59 // instead you must call ui::GetDisplayLayout
60 const char kTouchOptimizedUI[] = "touch-optimized-ui"; 60 const char kTouchOptimizedUI[] = "touch-optimized-ui";
61 61
(...skipping 16 matching lines...) Expand all
78 #endif 78 #endif
79 79
80 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) 80 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX)
81 // Tells chrome to interpret events from these devices as touch events. Only 81 // Tells chrome to interpret events from these devices as touch events. Only
82 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the 82 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the
83 // devices can be retrieved from 'xinput list'. 83 // devices can be retrieved from 'xinput list'.
84 const char kTouchDevices[] = "touch-devices"; 84 const char kTouchDevices[] = "touch-devices";
85 #endif 85 #endif
86 86
87 } // namespace switches 87 } // namespace switches
OLDNEW
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698