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 "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "ui/base/ui_base_export.h" | 12 #include "ui/base/ui_base_export.h" |
13 | 13 |
14 namespace switches { | 14 namespace switches { |
15 | 15 |
16 #if defined(OS_MACOSX) && !defined(OS_IOS) | 16 #if defined(OS_MACOSX) && !defined(OS_IOS) |
17 UI_BASE_EXPORT extern const char kDisableAVFoundationOverlays[]; | 17 UI_BASE_EXPORT extern const char kDisableAVFoundationOverlays[]; |
18 UI_BASE_EXPORT extern const char kDisableMacOverlays[]; | 18 UI_BASE_EXPORT extern const char kDisableMacOverlays[]; |
19 UI_BASE_EXPORT extern const char kDisableRemoteCoreAnimation[]; | 19 UI_BASE_EXPORT extern const char kDisableRemoteCoreAnimation[]; |
20 UI_BASE_EXPORT extern const char kShowMacOverlayBorders[]; | 20 UI_BASE_EXPORT extern const char kShowMacOverlayBorders[]; |
21 #endif | 21 #endif |
22 | 22 |
23 #if defined(OS_WIN) | 23 #if defined(OS_WIN) |
24 UI_BASE_EXPORT extern const char kDisableMergeKeyCharEvents[]; | 24 UI_BASE_EXPORT extern const char kDisableMergeKeyCharEvents[]; |
25 UI_BASE_EXPORT extern const char kEnableMergeKeyCharEvents[]; | 25 UI_BASE_EXPORT extern const char kEnableMergeKeyCharEvents[]; |
26 #endif | 26 #endif |
27 | 27 |
28 UI_BASE_EXPORT extern const char kDisableDwmComposition[]; | 28 UI_BASE_EXPORT extern const char kDisableDwmComposition[]; |
| 29 UI_BASE_EXPORT extern const char kDisableNewVirtualKeyboardBehavior[]; |
29 UI_BASE_EXPORT extern const char kDisableTouchAdjustment[]; | 30 UI_BASE_EXPORT extern const char kDisableTouchAdjustment[]; |
30 UI_BASE_EXPORT extern const char kDisableTouchDragDrop[]; | 31 UI_BASE_EXPORT extern const char kDisableTouchDragDrop[]; |
31 UI_BASE_EXPORT extern const char kEnableTouchDragDrop[]; | 32 UI_BASE_EXPORT extern const char kEnableTouchDragDrop[]; |
32 UI_BASE_EXPORT extern const char kLang[]; | 33 UI_BASE_EXPORT extern const char kLang[]; |
33 UI_BASE_EXPORT extern const char kMaterialDesignInkDropAnimationSpeed[]; | 34 UI_BASE_EXPORT extern const char kMaterialDesignInkDropAnimationSpeed[]; |
34 UI_BASE_EXPORT extern const char kMaterialDesignInkDropAnimationSpeedFast[]; | 35 UI_BASE_EXPORT extern const char kMaterialDesignInkDropAnimationSpeedFast[]; |
35 UI_BASE_EXPORT extern const char kMaterialDesignInkDropAnimationSpeedSlow[]; | 36 UI_BASE_EXPORT extern const char kMaterialDesignInkDropAnimationSpeedSlow[]; |
36 | 37 |
37 UI_BASE_EXPORT extern const char kTopChromeMD[]; | 38 UI_BASE_EXPORT extern const char kTopChromeMD[]; |
38 UI_BASE_EXPORT extern const char kTopChromeMDMaterial[]; | 39 UI_BASE_EXPORT extern const char kTopChromeMDMaterial[]; |
39 UI_BASE_EXPORT extern const char kTopChromeMDMaterialHybrid[]; | 40 UI_BASE_EXPORT extern const char kTopChromeMDMaterialHybrid[]; |
40 UI_BASE_EXPORT extern const char kTopChromeMDNonMaterial[]; | 41 UI_BASE_EXPORT extern const char kTopChromeMDNonMaterial[]; |
41 UI_BASE_EXPORT extern const char kUseNewVirtualKeyboardBehavior[]; | |
42 UI_BASE_EXPORT extern const char kExtendMdToSecondaryUi[]; | 42 UI_BASE_EXPORT extern const char kExtendMdToSecondaryUi[]; |
43 | 43 |
44 } // namespace switches | 44 } // namespace switches |
45 | 45 |
46 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 46 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
OLD | NEW |