[email protected] | 7dfb6960 | 2012-02-17 00:29:01 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 3d2c6fb | 2011-07-06 22:26:45 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 4 | |
5 | #include "ui/base/ui_base_switches.h" | ||||
6 | |||||
7 | namespace switches { | ||||
8 | |||||
[email protected] | 8a6aaa7 | 2012-04-20 20:53:58 | [diff] [blame] | 9 | // Enable support for touch events. |
10 | const char kEnableTouchEvents[] = "enable-touch-events"; | ||||
11 | |||||
[email protected] | 3455af4e | 2012-03-12 15:35:12 | [diff] [blame] | 12 | // The language file that we want to try to open. Of the form |
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 13 | // language[-country] where language is the 2 letter code from ISO-639. |
14 | const char kLang[] = "lang"; | ||||
15 | |||||
[email protected] | 3d2c6fb | 2011-07-06 22:26:45 | [diff] [blame] | 16 | // Load the locale resources from the given path. When running on Mac/Unix the |
17 | // path should point to a locale.pak file. | ||||
18 | const char kLocalePak[] = "locale_pak"; | ||||
19 | |||||
[email protected] | 3455af4e | 2012-03-12 15:35:12 | [diff] [blame] | 20 | // Disable ui::MessageBox. This is useful when running as part of scripts that |
21 | // do not have a user interface. | ||||
22 | const char kNoMessageBox[] = "no-message-box"; | ||||
23 | |||||
[email protected] | 7dfb6960 | 2012-02-17 00:29:01 | [diff] [blame] | 24 | // Enables UI changes that make it easier to use with a touchscreen. |
25 | const char kTouchOptimizedUI[] = "touch-optimized-ui"; | ||||
26 | |||||
[email protected] | dc51d1c | 2011-11-30 04:42:21 | [diff] [blame] | 27 | #if defined(OS_MACOSX) |
28 | const char kDisableCompositedCoreAnimationPlugins[] = | ||||
29 | "disable-composited-core-animation-plugins"; | ||||
30 | #endif | ||||
31 | |||||
[email protected] | 42ce29d | 2011-01-20 23:19:46 | [diff] [blame] | 32 | } // namespace switches |