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 kLang[]; | 16 UI_EXPORT extern const char kLang[]; |
17 UI_EXPORT extern const char kLocalePak[]; | 17 UI_EXPORT extern const char kLocalePak[]; |
| 18 UI_EXPORT extern const char kNoMessageBox[]; |
18 UI_EXPORT extern const char kTouchOptimizedUI[]; | 19 UI_EXPORT extern const char kTouchOptimizedUI[]; |
19 | 20 |
20 #if defined(OS_MACOSX) | 21 #if defined(OS_MACOSX) |
21 // TODO(kbr): remove this and the associated old code path: | 22 // TODO(kbr): remove this and the associated old code path: |
22 // http://crbug.com/105344 | 23 // http://crbug.com/105344 |
23 // This isn't really the right place for this switch, but is the most | 24 // This isn't really the right place for this switch, but is the most |
24 // convenient place where it can be shared between | 25 // convenient place where it can be shared between |
25 // src/webkit/plugins/npapi/ and src/content/plugin/ . | 26 // src/webkit/plugins/npapi/ and src/content/plugin/ . |
26 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; | 27 UI_EXPORT extern const char kDisableCompositedCoreAnimationPlugins[]; |
27 #endif | 28 #endif |
28 | 29 |
29 } // namespace switches | 30 } // namespace switches |
30 | 31 |
31 #endif // UI_BASE_UI_BASE_SWITCHES_H_ | 32 #endif // UI_BASE_UI_BASE_SWITCHES_H_ |
OLD | NEW |