OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/gfx/switches.h" | 5 #include "ui/gfx/switches.h" |
6 | 6 |
7 namespace gfx { | 7 namespace gfx { |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Whether or not ImageSkiaOperations methods can scale one of images | |
11 // if they don't have the same scale factor. | |
12 const char kDisableScalingInImageSkiaOperations[] = | |
13 "disable-scaling-in-image-skia-operations"; | |
14 | |
15 // Let text glyphs have X-positions that aren't snapped to the pixel grid in | 10 // Let text glyphs have X-positions that aren't snapped to the pixel grid in |
16 // the browser UI. | 11 // the browser UI. |
17 const char kEnableBrowserTextSubpixelPositioning[] = | 12 const char kEnableBrowserTextSubpixelPositioning[] = |
18 "enable-browser-text-subpixel-positioning"; | 13 "enable-browser-text-subpixel-positioning"; |
19 | 14 |
| 15 // Whether or not ImageSkiaOperations methods can scale one of images |
| 16 // if they don't have the same scale factor. |
| 17 const char kEnableScalingInImageSkiaOperations[] = |
| 18 "enable-scaling-in-image-skia-operations"; |
| 19 |
20 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid | 20 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid |
21 // in webkit renderers. | 21 // in webkit renderers. |
22 const char kEnableWebkitTextSubpixelPositioning[] = | 22 const char kEnableWebkitTextSubpixelPositioning[] = |
23 "enable-webkit-text-subpixel-positioning"; | 23 "enable-webkit-text-subpixel-positioning"; |
24 | 24 |
25 } // namespace switches | 25 } // namespace switches |
26 } // namespace gfx | 26 } // namespace gfx |
OLD | NEW |