Chromium Code Reviews| 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 kDisableDwmComposition[]; | 15 UI_EXPORT extern const char kDisableDwmComposition[]; |
| 16 UI_EXPORT extern const char kDisableNewDialogStyle[]; | 16 UI_EXPORT extern const char kDisableNewDialogStyle[]; |
| 17 UI_EXPORT extern const char kDisableTouchAdjustment[]; | 17 UI_EXPORT extern const char kDisableTouchAdjustment[]; |
| 18 UI_EXPORT extern const char kDisableTouchCancelAfterScroll[]; | |
| 18 UI_EXPORT extern const char kDisableTouchDragDrop[]; | 19 UI_EXPORT extern const char kDisableTouchDragDrop[]; |
| 19 UI_EXPORT extern const char kDisableTouchEditing[]; | 20 UI_EXPORT extern const char kDisableTouchEditing[]; |
| 20 UI_EXPORT extern const char kDisableViewsTextfield[]; | 21 UI_EXPORT extern const char kDisableViewsTextfield[]; |
| 21 UI_EXPORT extern const char kEnableBezelTouch[]; | 22 UI_EXPORT extern const char kEnableBezelTouch[]; |
| 22 UI_EXPORT extern const char kEnableNewDialogStyle[]; | 23 UI_EXPORT extern const char kEnableNewDialogStyle[]; |
| 24 UI_EXPORT extern const char kEnableTouchCancelAfterScroll[]; | |
|
sadrul
2013/05/30 02:44:16
You don't need both versions of the flag at the sa
Yufeng Shen (Slow to review)
2013/05/30 22:34:38
Done.
| |
| 23 UI_EXPORT extern const char kEnableTouchDragDrop[]; | 25 UI_EXPORT extern const char kEnableTouchDragDrop[]; |
| 24 UI_EXPORT extern const char kEnableTouchEditing[]; | 26 UI_EXPORT extern const char kEnableTouchEditing[]; |
| 25 UI_EXPORT extern const char kEnableViewsTextfield[]; | 27 UI_EXPORT extern const char kEnableViewsTextfield[]; |
| 26 UI_EXPORT extern const char kForceDeviceScaleFactor[]; | 28 UI_EXPORT extern const char kForceDeviceScaleFactor[]; |
| 27 UI_EXPORT extern const char kHighlightMissingScaledResources[]; | 29 UI_EXPORT extern const char kHighlightMissingScaledResources[]; |
| 28 UI_EXPORT extern const char kLang[]; | 30 UI_EXPORT extern const char kLang[]; |
| 29 UI_EXPORT extern const char kLocalePak[]; | 31 UI_EXPORT extern const char kLocalePak[]; |
| 30 UI_EXPORT extern const char kNoMessageBox[]; | 32 UI_EXPORT extern const char kNoMessageBox[]; |
| 31 UI_EXPORT extern const char kTouchEvents[]; | 33 UI_EXPORT extern const char kTouchEvents[]; |
| 32 UI_EXPORT extern const char kTouchEventsAuto[]; | 34 UI_EXPORT extern const char kTouchEventsAuto[]; |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 48 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; | 50 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; |
| 49 #endif | 51 #endif |
| 50 | 52 |
| 51 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 53 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
| 52 UI_EXPORT extern const char kTouchDevices[]; | 54 UI_EXPORT extern const char kTouchDevices[]; |
| 53 #endif | 55 #endif |
| 54 | 56 |
| 55 } // namespace switches | 57 } // namespace switches |
| 56 | 58 |
| 57 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 59 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
| OLD | NEW |