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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "ui/gfx/switches.h" | 6 #include "ui/gfx/switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // Overrides the device scale factor for the browser UI and the contents. | |
11 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; | |
12 | |
13 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
14 // Disables DirectWrite font rendering for general UI elements. | 11 // Disables DirectWrite font rendering for general UI elements. |
15 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui"; | 12 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui"; |
16 #endif | 13 #endif |
17 | 14 |
18 #if defined(OS_MACOSX) | 15 #if defined(OS_MACOSX) |
19 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for | 16 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for |
20 // text editing; this enables it for everything else). | 17 // text editing; this enables it for everything else). |
21 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; | 18 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; |
22 #endif | 19 #endif |
23 | 20 |
24 } // namespace switches | 21 } // namespace switches |
OLD | NEW |