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 // Defines all the command-line switches used by ui/base. | 5 // Defines all the command-line switches used by ui/base. |
6 | 6 |
7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ | 7 #ifndef UI_BASE_UI_BASE_SWITCHES_H_ |
8 #define UI_BASE_UI_BASE_SWITCHES_H_ | 8 #define UI_BASE_UI_BASE_SWITCHES_H_ |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "ui/base/ui_export.h" | 11 #include "ui/base/ui_export.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 UI_EXPORT extern const char kEnableBezelTouch[]; | 15 UI_EXPORT extern const char kEnableBezelTouch[]; |
16 UI_EXPORT extern const char kDisableScalingInImageSkiaOperations[]; | 16 UI_EXPORT extern const char kDisableScalingInImageSkiaOperations[]; |
17 UI_EXPORT extern const char kEnableBrowserTextSubpixelPositioning[]; | 17 UI_EXPORT extern const char kEnableBrowserTextSubpixelPositioning[]; |
18 UI_EXPORT extern const char kEnableTouchCalibration[]; | 18 UI_EXPORT extern const char kEnableTouchCalibration[]; |
19 UI_EXPORT extern const char kEnableTouchCalibrationX[]; | 19 UI_EXPORT extern const char kEnableTouchCalibrationX[]; |
20 UI_EXPORT extern const char kEnableTouchEvents[]; | 20 UI_EXPORT extern const char kEnableTouchEvents[]; |
21 UI_EXPORT extern const char kEnableViewsTextfield[]; | 21 UI_EXPORT extern const char kEnableViewsTextfield[]; |
22 UI_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[]; | 22 UI_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[]; |
23 UI_EXPORT extern const char kForceDeviceScaleFactor[]; | 23 UI_EXPORT extern const char kForceDeviceScaleFactor[]; |
24 UI_EXPORT extern const char kHighlightMissing2xResources[]; | 24 UI_EXPORT extern const char kHighlightMissingScaledResources[]; |
25 UI_EXPORT extern const char kLang[]; | 25 UI_EXPORT extern const char kLang[]; |
26 UI_EXPORT extern const char kLocalePak[]; | 26 UI_EXPORT extern const char kLocalePak[]; |
27 UI_EXPORT extern const char kOldCheckboxStyle[]; | 27 UI_EXPORT extern const char kOldCheckboxStyle[]; |
28 UI_EXPORT extern const char kNoMessageBox[]; | 28 UI_EXPORT extern const char kNoMessageBox[]; |
29 UI_EXPORT extern const char kTouchOptimizedUI[]; | 29 UI_EXPORT extern const char kTouchOptimizedUI[]; |
30 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; | 30 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; |
31 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; | 31 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; |
32 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; | 32 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; |
33 | 33 |
34 #if defined(OS_MACOSX) | 34 #if defined(OS_MACOSX) |
35 // TODO(kbr): remove this and the associated old code path: | 35 // TODO(kbr): remove this and the associated old code path: |
36 // http://crbug.com/105344 | 36 // http://crbug.com/105344 |
37 // This isn't really the right place for this switch, but is the most | 37 // This isn't really the right place for this switch, but is the most |
38 // convenient place where it can be shared between | 38 // convenient place where it can be shared between |
39 // src/webkit/plugins/npapi/ and src/content/plugin/ . | 39 // src/webkit/plugins/npapi/ and src/content/plugin/ . |
40 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; | 40 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; |
41 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; | 41 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; |
42 #endif | 42 #endif |
43 | 43 |
44 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 44 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
45 UI_EXPORT extern const char kTouchDevices[]; | 45 UI_EXPORT extern const char kTouchDevices[]; |
46 #endif | 46 #endif |
47 | 47 |
48 } // namespace switches | 48 } // namespace switches |
49 | 49 |
50 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 50 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
OLD | NEW |