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 #include "ui/base/ui_base_switches.h" | 5 #include "ui/base/ui_base_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The language file that we want to try to open. Of the form | 9 // The language file that we want to try to open. Of the form |
10 // language[-country] where language is the 2 letter code from ISO-639. | 10 // language[-country] where language is the 2 letter code from ISO-639. |
11 const char kLang[] = "lang"; | 11 const char kLang[] = "lang"; |
12 | 12 |
13 // Load the locale resources from the given path. When running on Mac/Unix the | 13 // Load the locale resources from the given path. When running on Mac/Unix the |
14 // path should point to a locale.pak file. | 14 // path should point to a locale.pak file. |
15 const char kLocalePak[] = "locale_pak"; | 15 const char kLocalePak[] = "locale_pak"; |
16 | 16 |
| 17 // Disable ui::MessageBox. This is useful when running as part of scripts that |
| 18 // do not have a user interface. |
| 19 const char kNoMessageBox[] = "no-message-box"; |
| 20 |
17 // Enables UI changes that make it easier to use with a touchscreen. | 21 // Enables UI changes that make it easier to use with a touchscreen. |
18 const char kTouchOptimizedUI[] = "touch-optimized-ui"; | 22 const char kTouchOptimizedUI[] = "touch-optimized-ui"; |
19 | 23 |
20 #if defined(OS_MACOSX) | 24 #if defined(OS_MACOSX) |
21 const char kDisableCompositedCoreAnimationPlugins[] = | 25 const char kDisableCompositedCoreAnimationPlugins[] = |
22 "disable-composited-core-animation-plugins"; | 26 "disable-composited-core-animation-plugins"; |
23 #endif | 27 #endif |
24 | 28 |
25 } // namespace switches | 29 } // namespace switches |
OLD | NEW |