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

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

Issue 258663002: Expose a low-end device mode override flags for non-android OSs as well (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review comments. Created 6 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 | « no previous file | base/android/java/src/org/chromium/base/SysUtils.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 814fee72f64103a1f1648cb5f759b71618c926f0..53e2d7bfe58bdcbd14c6ca78148564b2a5e68329 100644
--- a/base/android/java/src/org/chromium/base/BaseSwitches.java
+++ b/base/android/java/src/org/chromium/base/BaseSwitches.java
@@ -12,11 +12,10 @@ 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";
+ // Force low-end device when set to 1;
+ // Force non-low-end device when set to 0;
+ // Auto-detect low-end device when set to other values or empty;
+ public static final String LOW_END_DEVICE_MODE = "low-end-device-mode";
// Adds additional thread idle time information into the trace event output.
public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing";
« no previous file with comments | « no previous file | base/android/java/src/org/chromium/base/SysUtils.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698