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

Unified Diff: ui/android/java/src/org/chromium/ui/gfx/DisplaySwitches.java

Issue 2300463002: Add observers for DIP scale change. (Closed)
Patch Set: An attempt to fix tests compilation Created 4 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
Index: ui/android/java/src/org/chromium/ui/gfx/DisplaySwitches.java
diff --git a/ui/android/java/src/org/chromium/ui/gfx/DisplaySwitches.java b/ui/android/java/src/org/chromium/ui/gfx/DisplaySwitches.java
new file mode 100644
index 0000000000000000000000000000000000000000..c90884102867c6cb9b9c936fa32f22b642498163
--- /dev/null
+++ b/ui/android/java/src/org/chromium/ui/gfx/DisplaySwitches.java
@@ -0,0 +1,17 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.ui.gfx;
+
+/**
+ * Contains all of the command line switches that are specific to the ui/gfx
+ * portion of Chromium on Android.
+ */
+public abstract class DisplaySwitches {
+ // Native switch - display_switches::kForceDeviceScaleFactor
+ public static final String FORCE_DEVICE_SCALE_FACTOR = "force-device-scale-factor";
+
+ // Prevent instantiation.
+ private DisplaySwitches() {}
+}

Powered by Google App Engine
This is Rietveld 408576698