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

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: 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
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 "base/compiler_specific.h"
scottmg 2014/10/09 23:16:27 nit; should probably just be build/build_config.h
ananta 2014/10/10 18:45:36 Done.
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

Powered by Google App Engine
This is Rietveld 408576698