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

Unified Diff: ui/gfx/switches.cc

Issue 263253003: Allows arbitrary scale factor in ImageSkia. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« ui/gfx/image/image_skia.cc ('K') | « 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 2f2eb9a3b829150dd6f5a1e71f645d9b78148f11..f53f125c9b9529c70febd8f31df0096c636cc290 100644
--- a/ui/gfx/switches.cc
+++ b/ui/gfx/switches.cc
@@ -22,4 +22,10 @@ const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
// Enables/Disables High DPI support (windows)
const char kHighDPISupport[] = "high-dpi-support";
+// When specified, 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.
+const char kAllowArbitraryScaleFactorInImageSkia[] =
+ "allow-arbitrary-scale-factor-in-image-skia";
+
} // namespace switches
« ui/gfx/image/image_skia.cc ('K') | « ui/gfx/switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698