| 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 { | |
| 8 namespace switches { | 7 namespace switches { |
| 9 | 8 |
| 10 // Let text glyphs have X-positions that aren't snapped to the pixel grid in | 9 // Let text glyphs have X-positions that aren't snapped to the pixel grid in |
| 11 // the browser UI. | 10 // the browser UI. |
| 12 const char kEnableBrowserTextSubpixelPositioning[] = | 11 const char kEnableBrowserTextSubpixelPositioning[] = |
| 13 "enable-browser-text-subpixel-positioning"; | 12 "enable-browser-text-subpixel-positioning"; |
| 14 | 13 |
| 15 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid | 14 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid |
| 16 // in webkit renderers. | 15 // in webkit renderers. |
| 17 const char kEnableWebkitTextSubpixelPositioning[] = | 16 const char kEnableWebkitTextSubpixelPositioning[] = |
| 18 "enable-webkit-text-subpixel-positioning"; | 17 "enable-webkit-text-subpixel-positioning"; |
| 19 | 18 |
| 19 // Overrides the device scale factor for the browser UI and the contents. |
| 20 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; |
| 21 |
| 20 // Enables/Disables High DPI support (windows) | 22 // Enables/Disables High DPI support (windows) |
| 21 const char kHighDPISupport[] = "high-dpi-support"; | 23 const char kHighDPISupport[] = "high-dpi-support"; |
| 22 | 24 |
| 23 } // namespace switches | 25 } // namespace switches |
| 24 } // namespace gfx | |
| OLD | NEW |