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

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

Issue 644813004: Move the ShouldUseDirectWrite function from sandbox_win.cc/.h to ui/gfx/win/dpi.cc/.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review comments from sky Created 6 years, 2 months 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
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/switches.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/gfx/gfx_export.h" 9 #include "ui/gfx/gfx_export.h"
9 10
10 namespace switches { 11 namespace switches {
11 12
12 GFX_EXPORT extern const char kAllowArbitraryScaleFactorInImageSkia[]; 13 GFX_EXPORT extern const char kAllowArbitraryScaleFactorInImageSkia[];
13 GFX_EXPORT extern const char kDisableHarfBuzzRenderText[]; 14 GFX_EXPORT extern const char kDisableHarfBuzzRenderText[];
14 GFX_EXPORT extern const char kEnableHarfBuzzRenderText[]; 15 GFX_EXPORT extern const char kEnableHarfBuzzRenderText[];
15 GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[]; 16 GFX_EXPORT extern const char kEnableWebkitTextSubpixelPositioning[];
16 GFX_EXPORT extern const char kForceDeviceScaleFactor[]; 17 GFX_EXPORT extern const char kForceDeviceScaleFactor[];
17 18
19 #if defined(OS_WIN)
20 GFX_EXPORT extern const char kDisableDirectWrite[];
21 #endif
22
18 } // namespace switches 23 } // namespace switches
19 24
20 #endif // UI_GFX_SWITCHES_H_ 25 #endif // UI_GFX_SWITCHES_H_
OLDNEW
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698