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

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

Issue 1020263004: Force --enable-webkit-text-subpixel-positioning for DSF > 1.0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Force --enable-webkit-text-subpixel-positioning for DSF > 1.0. Created 5 years, 8 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
« ui/gfx/font_render_params_linux.cc ('K') | « ui/gfx/switches.h ('k') | no next file » | 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 #include "ui/gfx/switches.h" 5 #include "ui/gfx/switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
10 // in webkit renderers.
11 const char kEnableWebkitTextSubpixelPositioning[] =
12 "enable-webkit-text-subpixel-positioning";
13
14 // Overrides the device scale factor for the browser UI and the contents. 9 // Overrides the device scale factor for the browser UI and the contents.
15 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 10 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
16 11
17 #if defined(OS_WIN) 12 #if defined(OS_WIN)
18 // Disables the DirectWrite font rendering system on windows. 13 // Disables the DirectWrite font rendering system on windows.
19 const char kDisableDirectWrite[] = "disable-direct-write"; 14 const char kDisableDirectWrite[] = "disable-direct-write";
20 15
21 // Disables DirectWrite font rendering for general UI elements. 16 // Disables DirectWrite font rendering for general UI elements.
22 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui"; 17 const char kDisableDirectWriteForUI[] = "disable-directwrite-for-ui";
23 #endif 18 #endif
24 19
25 #if defined(OS_MACOSX) 20 #if defined(OS_MACOSX)
26 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for 21 // Enables the HarfBuzz port of RenderText on Mac (it's already used only for
27 // text editing; this enables it for everything else). 22 // text editing; this enables it for everything else).
28 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext"; 23 const char kEnableHarfBuzzRenderText[] = "enable-harfbuzz-rendertext";
29 #endif 24 #endif
30 25
31 } // namespace switches 26 } // namespace switches
OLDNEW
« ui/gfx/font_render_params_linux.cc ('K') | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698