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 #ifndef UI_GFX_SWITCHES_H_ | 5 #ifndef UI_GFX_SWITCHES_H_ |
6 #define UI_GFX_SWITCHES_H_ | 6 #define UI_GFX_SWITCHES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "ui/gfx/gfx_export.h" | 9 #include "ui/gfx/gfx_export.h" |
10 | 10 |
11 namespace switches { | 11 namespace switches { |
12 | 12 |
13 GFX_EXPORT extern const char kAllowArbitraryScaleFactorInImageSkia[]; | 13 GFX_EXPORT extern const char kAllowArbitraryScaleFactorInImageSkia[]; |
14 GFX_EXPORT extern const char kDisableHarfBuzzRenderText[]; | |
15 GFX_EXPORT extern const char kEnableHarfBuzzRenderText[]; | |
16 GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[]; | 14 GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[]; |
17 GFX_EXPORT extern const char kForceDeviceScaleFactor[]; | 15 GFX_EXPORT extern const char kForceDeviceScaleFactor[]; |
18 | 16 |
19 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
20 GFX_EXPORT extern const char kDisableDirectWrite[]; | 18 GFX_EXPORT extern const char kDisableDirectWrite[]; |
21 GFX_EXPORT extern const char kDisableDirectWriteForUI[]; | 19 GFX_EXPORT extern const char kDisableDirectWriteForUI[]; |
22 #endif | 20 #endif |
23 | 21 |
| 22 #if defined(OS_MACOSX) |
| 23 GFX_EXPORT extern const char kEnableHarfBuzzRenderText[]; |
| 24 #endif |
| 25 |
24 } // namespace switches | 26 } // namespace switches |
25 | 27 |
26 #endif // UI_GFX_SWITCHES_H_ | 28 #endif // UI_GFX_SWITCHES_H_ |
OLD | NEW |