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