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 default device scale factor to apply to the browser UI and | 9 // The default device scale factor to apply to the browser UI and |
10 // the contents in the absence of a viewport meta tag. | 10 // the contents in the absence of a viewport meta tag. |
11 const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor"; | 11 const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor"; |
| 12 |
| 13 // Enable touch screen calibration. |
| 14 const char kDisableTouchCalibration[] = "disable-touch-calibration"; |
12 | 15 |
13 // Enable support for touch events. | 16 // Enable support for touch events. |
14 const char kEnableTouchEvents[] = "enable-touch-events"; | 17 const char kEnableTouchEvents[] = "enable-touch-events"; |
15 | 18 |
16 // The language file that we want to try to open. Of the form | 19 // The language file that we want to try to open. Of the form |
17 // language[-country] where language is the 2 letter code from ISO-639. | 20 // language[-country] where language is the 2 letter code from ISO-639. |
18 const char kLang[] = "lang"; | 21 const char kLang[] = "lang"; |
19 | 22 |
20 // Load the locale resources from the given path. When running on Mac/Unix the | 23 // Load the locale resources from the given path. When running on Mac/Unix the |
21 // path should point to a locale.pak file. | 24 // path should point to a locale.pak file. |
22 const char kLocalePak[] = "locale_pak"; | 25 const char kLocalePak[] = "locale_pak"; |
23 | 26 |
24 // Disable ui::MessageBox. This is useful when running as part of scripts that | 27 // Disable ui::MessageBox. This is useful when running as part of scripts that |
25 // do not have a user interface. | 28 // do not have a user interface. |
26 const char kNoMessageBox[] = "no-message-box"; | 29 const char kNoMessageBox[] = "no-message-box"; |
27 | 30 |
28 // Enables UI changes that make it easier to use with a touchscreen. | 31 // Enables UI changes that make it easier to use with a touchscreen. |
29 const char kTouchOptimizedUI[] = "touch-optimized-ui"; | 32 const char kTouchOptimizedUI[] = "touch-optimized-ui"; |
30 | 33 |
| 34 |
31 #if defined(OS_MACOSX) | 35 #if defined(OS_MACOSX) |
32 const char kDisableCompositedCoreAnimationPlugins[] = | 36 const char kDisableCompositedCoreAnimationPlugins[] = |
33 "disable-composited-core-animation-plugins"; | 37 "disable-composited-core-animation-plugins"; |
34 #endif | 38 #endif |
35 | 39 |
36 } // namespace switches | 40 } // namespace switches |
OLD | NEW |