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 // Whether or not ImageSkiaOperations methods can scale one of images |
| 10 // if they don't have the same scale factor. |
| 11 const char kDisableScalingInImageSkiaOperations[] = |
| 12 "disable-scaling-in-image-skia-operations"; |
| 13 |
9 // Let text glyphs have X-positions that aren't snapped to the pixel grid. | 14 // Let text glyphs have X-positions that aren't snapped to the pixel grid. |
10 const char kEnableTextSubpixelPositioning[] = | 15 const char kEnableTextSubpixelPositioning[] = |
11 "enable-text-subpixel-positioning"; | 16 "enable-text-subpixel-positioning"; |
12 | 17 |
13 // Enable touch screen calibration. | 18 // Enable touch screen calibration. |
14 const char kEnableTouchCalibration[] = "enable-touch-calibration"; | 19 const char kEnableTouchCalibration[] = "enable-touch-calibration"; |
15 | 20 |
16 // Enable support for touch events. | 21 // Enable support for touch events. |
17 const char kEnableTouchEvents[] = "enable-touch-events"; | 22 const char kEnableTouchEvents[] = "enable-touch-events"; |
18 | 23 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #endif | 78 #endif |
74 | 79 |
75 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) | 80 #if defined(TOOLKIT_VIEWS) && defined(OS_LINUX) |
76 // Tells chrome to interpret events from these devices as touch events. Only | 81 // Tells chrome to interpret events from these devices as touch events. Only |
77 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the | 82 // available with XInput 2 (i.e. X server 1.8 or above). The id's of the |
78 // devices can be retrieved from 'xinput list'. | 83 // devices can be retrieved from 'xinput list'. |
79 const char kTouchDevices[] = "touch-devices"; | 84 const char kTouchDevices[] = "touch-devices"; |
80 #endif | 85 #endif |
81 | 86 |
82 } // namespace switches | 87 } // namespace switches |
OLD | NEW |