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

Unified Diff: ui/base/ui_base_switches.cc

Issue 10255020: Get the default device scale factor from monitor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updated comment Created 8 years, 8 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/monitor.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 d83c3cd214ad9be8e64d2961a3034bf57546c532..d1a2597f5a17c9a41e63ebc635de4aab323a100b 100644
--- a/ui/base/ui_base_switches.cc
+++ b/ui/base/ui_base_switches.cc
@@ -6,6 +6,10 @@
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";
+
// Enable support for touch events.
const char kEnableTouchEvents[] = "enable-touch-events";
« no previous file with comments | « ui/base/ui_base_switches.h ('k') | ui/gfx/monitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698