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

Unified Diff: ui/gfx/switches.cc

Issue 326073005: Enable arbitrary scale factor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/switches.cc
diff --git a/ui/gfx/switches.cc b/ui/gfx/switches.cc
index 0df375ef425b24f6839dfca212bd8476a3797ee0..2441a1483f51854ba22de9034fcbe997bab364de 100644
--- a/ui/gfx/switches.cc
+++ b/ui/gfx/switches.cc
@@ -6,16 +6,11 @@
namespace switches {
-// When allowed, the ImageSkia looks up the resource pack with the closest
-// available scale factor instead of the actual device scale factor and then
-// rescale on ImageSkia side.
-// In Windows: default is allowed. Specify --disallow-... to prevent this.
-// Other platforms: default is not allowed. Specify --allow-... to do this.
-const char kAllowArbitraryScaleFactorInImageSkia[] =
- "allow-arbitrary-scale-factor-in-image-skia";
-
-const char kDisallowArbitraryScaleFactorInImageSkia[] =
- "disallow-arbitrary-scale-factor-in-image-skia";
+// The ImageSkia looks up the resource pack with the closest available scale
+// factor instead of the actual device scale factor and then rescale on
+// ImageSkia side. This switch disables this feature.
+const char kDisableArbitraryScaleFactorInImageSkia[] =
+ "disable-arbitrary-scale-factor-in-image-skia";
// Let text glyphs have X-positions that aren't snapped to the pixel grid in
// the browser UI.
« 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