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

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

Issue 11673010: Flip the default value of the flag to enable scaling in ImageSkiaOperations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « 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 gfx { 7 namespace gfx {
8 namespace switches { 8 namespace switches {
9 9
10 // Whether or not ImageSkiaOperations methods can scale one of images
11 // if they don't have the same scale factor.
12 const char kDisableScalingInImageSkiaOperations[] =
13 "disable-scaling-in-image-skia-operations";
14
15 // Let text glyphs have X-positions that aren't snapped to the pixel grid in 10 // Let text glyphs have X-positions that aren't snapped to the pixel grid in
16 // the browser UI. 11 // the browser UI.
17 const char kEnableBrowserTextSubpixelPositioning[] = 12 const char kEnableBrowserTextSubpixelPositioning[] =
18 "enable-browser-text-subpixel-positioning"; 13 "enable-browser-text-subpixel-positioning";
19 14
15 // Whether or not ImageSkiaOperations methods can scale one of images
16 // if they don't have the same scale factor.
17 const char kEnableScalingInImageSkiaOperations[] =
18 "enable-scaling-in-image-skia-operations";
19
20 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid 20 // Enable text glyphs to have X-positions that aren't snapped to the pixel grid
21 // in webkit renderers. 21 // in webkit renderers.
22 const char kEnableWebkitTextSubpixelPositioning[] = 22 const char kEnableWebkitTextSubpixelPositioning[] =
23 "enable-webkit-text-subpixel-positioning"; 23 "enable-webkit-text-subpixel-positioning";
24 24
25 } // namespace switches 25 } // namespace switches
26 } // namespace gfx 26 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698