OLD | NEW |
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 21 matching lines...) Expand all Loading... |
32 // the 2x version is of an incorrect size and applies a red mask to the | 32 // the 2x version is of an incorrect size and applies a red mask to the |
33 // resource. Resources for which hidpi is not supported because of software | 33 // resource. Resources for which hidpi is not supported because of software |
34 // reasons will show up pixelated. | 34 // reasons will show up pixelated. |
35 const char kHighlightMissing2xResources[] = | 35 const char kHighlightMissing2xResources[] = |
36 "highlight-missing-2x-resources"; | 36 "highlight-missing-2x-resources"; |
37 | 37 |
38 // The language file that we want to try to open. Of the form | 38 // The language file that we want to try to open. Of the form |
39 // language[-country] where language is the 2 letter code from ISO-639. | 39 // language[-country] where language is the 2 letter code from ISO-639. |
40 const char kLang[] = "lang"; | 40 const char kLang[] = "lang"; |
41 | 41 |
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. | |
44 const char kLoad2xResources[] = "load-2x-resources"; | |
45 | |
46 // Load the locale resources from the given path. When running on Mac/Unix the | 42 // Load the locale resources from the given path. When running on Mac/Unix the |
47 // path should point to a locale.pak file. | 43 // path should point to a locale.pak file. |
48 const char kLocalePak[] = "locale_pak"; | 44 const char kLocalePak[] = "locale_pak"; |
49 | 45 |
50 // Disables the new appearance for checkboxes and radio buttons. | 46 // Disables the new appearance for checkboxes and radio buttons. |
51 const char kOldCheckboxStyle[] = "old-checkbox-style"; | 47 const char kOldCheckboxStyle[] = "old-checkbox-style"; |
52 | 48 |
53 // 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 |
54 // do not have a user interface. | 50 // do not have a user interface. |
55 const char kNoMessageBox[] = "no-message-box"; | 51 const char kNoMessageBox[] = "no-message-box"; |
(...skipping 22 matching lines...) Expand all Loading... |
78 #endif | 74 #endif |
79 | 75 |
80 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 76 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
81 // Tells chrome to interpret events from these devices as touch events. Only | 77 // 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 | 78 // 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'. | 79 // devices can be retrieved from 'xinput list'. |
84 const char kTouchDevices[] = "touch-devices"; | 80 const char kTouchDevices[] = "touch-devices"; |
85 #endif | 81 #endif |
86 | 82 |
87 } // namespace switches | 83 } // namespace switches |
OLD | NEW |