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

Unified Diff: base/android/java/src/org/chromium/base/BaseSwitches.java

Issue 62833002: [Android] Add a low-end device mode override flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 7 years, 1 month 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: base/android/java/src/org/chromium/base/BaseSwitches.java
diff --git a/base/android/java/src/org/chromium/base/BaseSwitches.java b/base/android/java/src/org/chromium/base/BaseSwitches.java
index 4cda1f5d4bfa66e1a195822c7bc9d2e06dd979bb..c86e46e5ad24265815433d845b9367d6d25a3d79 100644
--- a/base/android/java/src/org/chromium/base/BaseSwitches.java
+++ b/base/android/java/src/org/chromium/base/BaseSwitches.java
@@ -12,6 +12,12 @@ public abstract class BaseSwitches {
// Block onCreate() of Chrome until a Java debugger is attached.
public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger";
+ // Overrides low-end device detection, disabling low-end device optimizations.
+ public static final String DISABLE_LOW_END_DEVICE_MODE = "disable-low-end-device-mode";
+
+ // Overrides low-end device detection, enabling low-end device optimizations.
+ public static final String ENABLE_LOW_END_DEVICE_MODE = "enable-low-end-device-mode";
bulach 2013/11/20 16:31:12 nit: remove extra space before public
jdduke (slow) 2013/11/20 18:16:34 Done.
+
// Prevent instantiation.
private BaseSwitches() {}
};

Powered by Google App Engine
This is Rietveld 408576698