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 // Disables use of DWM composition for top level windows. | 9 // Disables use of DWM composition for top level windows. |
10 const char kDisableDwmComposition[] = "disable-dwm-composition"; | 10 const char kDisableDwmComposition[] = "disable-dwm-composition"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 // auto: Enabled on monitors which have touchscreen support (default). | 60 // auto: Enabled on monitors which have touchscreen support (default). |
61 const char kTouchOptimizedUIAuto[] = "auto"; | 61 const char kTouchOptimizedUIAuto[] = "auto"; |
62 // enabled: always optimized for touch (even if no touch support). | 62 // enabled: always optimized for touch (even if no touch support). |
63 const char kTouchOptimizedUIEnabled[] = "enabled"; | 63 const char kTouchOptimizedUIEnabled[] = "enabled"; |
64 // disabled: never optimized for touch. | 64 // disabled: never optimized for touch. |
65 const char kTouchOptimizedUIDisabled[] = "disabled"; | 65 const char kTouchOptimizedUIDisabled[] = "disabled"; |
66 | 66 |
67 // Enables touch events on the side bezels. | 67 // Enables touch events on the side bezels. |
68 const char kTouchSideBezels[] = "touch-side-bezels"; | 68 const char kTouchSideBezels[] = "touch-side-bezels"; |
69 | 69 |
| 70 #if defined(OS_ANDROID) |
| 71 // Uses the tablet specific UI components when available. |
| 72 const char kTabletUI[] = "tablet-ui"; |
| 73 #endif |
| 74 |
70 #if defined(USE_XI2_MT) | 75 #if defined(USE_XI2_MT) |
71 // The calibration factors given as "<left>,<right>,<top>,<bottom>". | 76 // The calibration factors given as "<left>,<right>,<top>,<bottom>". |
72 const char kTouchCalibration[] = "touch-calibration"; | 77 const char kTouchCalibration[] = "touch-calibration"; |
73 #endif | 78 #endif |
74 | 79 |
75 } // namespace switches | 80 } // namespace switches |
OLD | NEW |