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

Unified Diff: ui/base/ui_base_switches.cc

Issue 10928231: Fix ResourceBundleImageSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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/base/ui_base_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_switches.cc
diff --git a/ui/base/ui_base_switches.cc b/ui/base/ui_base_switches.cc
index 663a8a4c4b62a3d6ba64c467f6ff724e34178728..c49e8eabb8752243005d4fadcf33db9091ddcd33 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -40,12 +40,13 @@ const char kEnableWebkitTextSubpixelPositioning[] =
// contents.
const char kForceDeviceScaleFactor[] = "force-device-scale-factor";
-// Generates a 2x version of resources for which no 2x version is available or
-// the 2x version is of an incorrect size and applies a red mask to the
+// If a resource is requested at a scale factor at which it is not available
+// or the resource is the incorrect size (based on the size of the 1x resource),
+// generates the missing resource and applies a red mask to the generated
// resource. Resources for which hidpi is not supported because of software
// reasons will show up pixelated.
-const char kHighlightMissing2xResources[] =
- "highlight-missing-2x-resources";
+const char kHighlightMissingScaledResources[] =
+ "highlight-missing-scaled-resources";
// The language file that we want to try to open. Of the form
// language[-country] where language is the 2 letter code from ISO-639.
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698