| 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 switches { | 7 namespace switches { |
| 8 | 8 |
| 9 // When allowed, the ImageSkia looks up the resource pack with the closest | 9 // When allowed, the ImageSkia looks up the resource pack with the closest |
| 10 // available scale factor instead of the actual device scale factor and then | 10 // available scale factor instead of the actual device scale factor and then |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 "enable-harfbuzz-rendertext"; | 27 "enable-harfbuzz-rendertext"; |
| 28 | 28 |
| 29 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid | 29 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid |
| 30 // in webkit renderers. | 30 // in webkit renderers. |
| 31 const char kEnableWebkitTextSubpixelPositioning[] = | 31 const char kEnableWebkitTextSubpixelPositioning[] = |
| 32 "enable-webkit-text-subpixel-positioning"; | 32 "enable-webkit-text-subpixel-positioning"; |
| 33 | 33 |
| 34 // Overrides the device scale factor for the browser UI and the contents. | 34 // Overrides the device scale factor for the browser UI and the contents. |
| 35 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; | 35 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; |
| 36 | 36 |
| 37 // Enables/Disables High DPI support (windows) | |
| 38 const char kHighDPISupport[] = "high-dpi-support"; | |
| 39 | |
| 40 } // namespace switches | 37 } // namespace switches |
| OLD | NEW |