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

Unified Diff: ui/base/ui_base_switches.cc

Issue 10546158: Remove --default-device-scale-factor (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
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/gfx/display.h » ('j') | 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 0027763908c60156b45600d5b8145b98dd9a0620..b641e088bc996bad0d4ef64e5332193f9f63faa9 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -6,10 +6,6 @@
namespace switches {
-// The default device scale factor to apply to the browser UI and
-// the contents in the absence of a viewport meta tag.
-const char kDefaultDeviceScaleFactor[] = "default-device-scale-factor";
-
// Let text glyphs have X-positions that aren't snapped to the pixel grid.
const char kEnableTextSubpixelPositioning[] =
"enable-text-subpixel-positioning";
@@ -23,6 +19,10 @@ const char kEnableTouchEvents[] = "enable-touch-events";
// Enables the Views textfield on Windows.
const char kEnableViewsTextfield[] = "enable-views-textfield";
+// Overrides the device scale factor for the browser UI and the
+// 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
// resource. Resources for which hidpi is not supported because of software
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/gfx/display.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698