| 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 #if defined(OS_MACOSX) && !defined(OS_IOS) | 9 #if defined(OS_MACOSX) && !defined(OS_IOS) |
| 10 // Disable use of CoreAnimation to draw on the Mac. | 10 // Enable use of CoreAnimation to draw on the Mac. |
| 11 const char kDisableCoreAnimation[] = "disable-core-animation"; | 11 const char kEnableCoreAnimation[] = "enable-core-animation"; |
| 12 #endif | 12 #endif |
| 13 | 13 |
| 14 // Disables use of DWM composition for top level windows. | 14 // Disables use of DWM composition for top level windows. |
| 15 const char kDisableDwmComposition[] = "disable-dwm-composition"; | 15 const char kDisableDwmComposition[] = "disable-dwm-composition"; |
| 16 | 16 |
| 17 // Disables touch adjustment. | 17 // Disables touch adjustment. |
| 18 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; | 18 const char kDisableTouchAdjustment[] = "disable-touch-adjustment"; |
| 19 | 19 |
| 20 // Disables touch event based drag and drop. | 20 // Disables touch event based drag and drop. |
| 21 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; | 21 const char kDisableTouchDragDrop[] = "disable-touch-drag-drop"; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // Uses the tablet specific UI components when available. | 67 // Uses the tablet specific UI components when available. |
| 68 const char kTabletUI[] = "tablet-ui"; | 68 const char kTabletUI[] = "tablet-ui"; |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 #if defined(USE_XI2_MT) | 71 #if defined(USE_XI2_MT) |
| 72 // The calibration factors given as "<left>,<right>,<top>,<bottom>". | 72 // The calibration factors given as "<left>,<right>,<top>,<bottom>". |
| 73 const char kTouchCalibration[] = "touch-calibration"; | 73 const char kTouchCalibration[] = "touch-calibration"; |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 } // namespace switches | 76 } // namespace switches |
| OLD | NEW |