| 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 kDisableScalingInImageSkiaOperations[]; | 15 UI_EXPORT extern const char kDisableScalingInImageSkiaOperations[]; |
| 16 UI_EXPORT extern const char kEnableTextSubpixelPositioning[]; | 16 UI_EXPORT extern const char kEnableTextSubpixelPositioning[]; |
| 17 UI_EXPORT extern const char kEnableTouchCalibration[]; | 17 UI_EXPORT extern const char kEnableTouchCalibration[]; |
| 18 UI_EXPORT extern const char kEnableTouchEvents[]; | 18 UI_EXPORT extern const char kEnableTouchEvents[]; |
| 19 UI_EXPORT extern const char kEnableViewsTextfield[]; | 19 UI_EXPORT extern const char kEnableViewsTextfield[]; |
| 20 UI_EXPORT extern const char kForceDeviceScaleFactor[]; | 20 UI_EXPORT extern const char kForceDeviceScaleFactor[]; |
| 21 UI_EXPORT extern const char kHighlightMissing2xResources[]; | 21 UI_EXPORT extern const char kHighlightMissing2xResources[]; |
| 22 UI_EXPORT extern const char kLang[]; | 22 UI_EXPORT extern const char kLang[]; |
| 23 UI_EXPORT extern const char kLoad2xResources[]; | |
| 24 UI_EXPORT extern const char kLocalePak[]; | 23 UI_EXPORT extern const char kLocalePak[]; |
| 25 UI_EXPORT extern const char kOldCheckboxStyle[]; | 24 UI_EXPORT extern const char kOldCheckboxStyle[]; |
| 26 UI_EXPORT extern const char kNoMessageBox[]; | 25 UI_EXPORT extern const char kNoMessageBox[]; |
| 27 UI_EXPORT extern const char kTouchOptimizedUI[]; | 26 UI_EXPORT extern const char kTouchOptimizedUI[]; |
| 28 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; | 27 UI_EXPORT extern const char kTouchOptimizedUIAuto[]; |
| 29 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; | 28 UI_EXPORT extern const char kTouchOptimizedUIDisabled[]; |
| 30 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; | 29 UI_EXPORT extern const char kTouchOptimizedUIEnabled[]; |
| 31 | 30 |
| 32 #if defined(OS_MACOSX) | 31 #if defined(OS_MACOSX) |
| 33 // TODO(kbr): remove this and the associated old code path: | 32 // TODO(kbr): remove this and the associated old code path: |
| 34 // http://crbug.com/105344 | 33 // http://crbug.com/105344 |
| 35 // 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 |
| 36 // convenient place where it can be shared between | 35 // convenient place where it can be shared between |
| 37 // src/webkit/plugins/npapi/ and src/content/plugin/ . | 36 // src/webkit/plugins/npapi/ and src/content/plugin/ . |
| 38 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; | 37 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; |
| 39 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; | 38 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; |
| 40 #endif | 39 #endif |
| 41 | 40 |
| 42 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 41 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
| 43 UI_EXPORT extern const char kTouchDevices[]; | 42 UI_EXPORT extern const char kTouchDevices[]; |
| 44 #endif | 43 #endif |
| 45 | 44 |
| 46 } // namespace switches | 45 } // namespace switches |
| 47 | 46 |
| 48 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 47 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
| OLD | NEW |