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

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

Issue 152473008: More or less implement RenderTextHarfBuzz (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Alexei's comments 2 Created 6 years, 7 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 | Annotate | Revision Log
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 // Let text glyphs have X-positions that aren't snapped to the pixel grid in 9 // Let text glyphs have X-positions that aren't snapped to the pixel grid in
10 // the browser UI. 10 // the browser UI.
11 const char kEnableBrowserTextSubpixelPositioning[] = 11 const char kEnableBrowserTextSubpixelPositioning[] =
12 "enable-browser-text-subpixel-positioning"; 12 "enable-browser-text-subpixel-positioning";
13 13
14 // Uses the HarfBuzz port of RenderText on all platforms.
15 const char kEnableHarfBuzzRenderText[] =
16 "enable-harfbuzz-rendertext";
17
14 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid 18 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
15 // in webkit renderers. 19 // in webkit renderers.
16 const char kEnableWebkitTextSubpixelPositioning[] = 20 const char kEnableWebkitTextSubpixelPositioning[] =
17 "enable-webkit-text-subpixel-positioning"; 21 "enable-webkit-text-subpixel-positioning";
18 22
19 // Overrides the device scale factor for the browser UI and the contents. 23 // Overrides the device scale factor for the browser UI and the contents.
20 const char kForceDeviceScaleFactor[] = "force-device-scale-factor"; 24 const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
21 25
22 // Enables/Disables High DPI support (windows) 26 // Enables/Disables High DPI support (windows)
23 const char kHighDPISupport[] = "high-dpi-support"; 27 const char kHighDPISupport[] = "high-dpi-support";
24 28
25 } // namespace switches 29 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698