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

Unified Diff: ui/base/ui_base_switches.cc

Issue 10494013: Add flag which shows missing 2x resources (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« ui/base/ui_base_switches.h ('K') | « 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 b163349fcf6a8f1426a58c2619d1ed9bafc3a389..8bb45951dee4fa5aaf02bb83eff5bb780bf6bb62 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -28,6 +28,13 @@ const char kLang[] = "lang";
// mix of 1x and 2x and loading them may break the UI on 2x display.
const char kLoad2xResources[] = "load-2x-resources";
+// 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
+// resource. Resources for which hidpi is not supported because of software
+// reasons will show up pixelated.
+const char kHighlightMissing2xResources[] =
+ "highlight-missing-2x-resources";
+
// Load the locale resources from the given path. When running on Mac/Unix the
// path should point to a locale.pak file.
const char kLocalePak[] = "locale_pak";
« ui/base/ui_base_switches.h ('K') | « ui/base/ui_base_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698