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 "ui/base/ui_export.h" | 12 #include "ui/base/ui_export.h" |
12 | 13 |
| 14 #ifdef ENABLE_FAST_COMMAND_LINE_SWITCHES |
| 15 |
| 16 namespace { |
| 17 #include "ui/base/ui_base_switches.cc" |
| 18 } |
| 19 |
| 20 #else |
| 21 |
13 namespace switches { | 22 namespace switches { |
14 | 23 |
15 UI_EXPORT extern const char kDisableDwmComposition[]; | 24 UI_EXPORT extern const char kDisableDwmComposition[]; |
16 UI_EXPORT extern const char kDisableNewDialogStyle[]; | 25 UI_EXPORT extern const char kDisableNewDialogStyle[]; |
17 UI_EXPORT extern const char kDisableTouchAdjustment[]; | 26 UI_EXPORT extern const char kDisableTouchAdjustment[]; |
18 UI_EXPORT extern const char kDisableTouchDragDrop[]; | 27 UI_EXPORT extern const char kDisableTouchDragDrop[]; |
19 UI_EXPORT extern const char kDisableTouchEditing[]; | 28 UI_EXPORT extern const char kDisableTouchEditing[]; |
20 UI_EXPORT extern const char kDisableViewsTextfield[]; | 29 UI_EXPORT extern const char kDisableViewsTextfield[]; |
21 UI_EXPORT extern const char kEnableNewDialogStyle[]; | 30 UI_EXPORT extern const char kEnableNewDialogStyle[]; |
22 UI_EXPORT extern const char kEnableScrollPrediction[]; | 31 UI_EXPORT extern const char kEnableScrollPrediction[]; |
(...skipping 25 matching lines...) Expand all Loading... |
48 // src/webkit/plugins/npapi/ and src/content/plugin/ . | 57 // src/webkit/plugins/npapi/ and src/content/plugin/ . |
49 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; | 58 UI_EXPORT extern const char kDisableCoreAnimationPlugins[]; |
50 #endif | 59 #endif |
51 | 60 |
52 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 61 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
53 UI_EXPORT extern const char kTouchDevices[]; | 62 UI_EXPORT extern const char kTouchDevices[]; |
54 #endif | 63 #endif |
55 | 64 |
56 } // namespace switches | 65 } // namespace switches |
57 | 66 |
| 67 #endif // ENABLE_FAST_COMMAND_LINE_SWITCHES |
58 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 68 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
OLD | NEW |