Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(268)

Side by Side Diff: ui/gfx/switches.h

Issue 726893005: Enable DirectWrite for font metrics and font rendering in Chrome UI on Windows by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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[]; 14 GFX_EXPORT extern const char kDisableHarfBuzzRenderText[];
15 GFX_EXPORT extern const char kEnableHarfBuzzRenderText[]; 15 GFX_EXPORT extern const char kEnableHarfBuzzRenderText[];
16 GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[]; 16 GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[];
17 GFX_EXPORT extern const char kForceDeviceScaleFactor[]; 17 GFX_EXPORT extern const char kForceDeviceScaleFactor[];
18 18
19 #if defined(OS_WIN) 19 #if defined(OS_WIN)
20 GFX_EXPORT extern const char kDisableDirectWrite[]; 20 GFX_EXPORT extern const char kDisableDirectWrite[];
21 GFX_EXPORT extern const char kEnableDirectWriteForUI[]; 21 GFX_EXPORT extern const char kDisableDirectWriteForUI[];
22 #endif 22 #endif
23 23
24 } // namespace switches 24 } // namespace switches
25 25
26 #endif // UI_GFX_SWITCHES_H_ 26 #endif // UI_GFX_SWITCHES_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | ui/gfx/switches.cc » ('j') | ui/gfx/switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698