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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.base; 5 package org.chromium.base;
6 6
7 /** 7 /**
8 * Contains all of the command line switches that are specific to the base/ 8 * Contains all of the command line switches that are specific to the base/
9 * portion of Chromium on Android. 9 * portion of Chromium on Android.
10 */ 10 */
11 public abstract class BaseSwitches { 11 public abstract class BaseSwitches {
12 // Block onCreate() of Chrome until a Java debugger is attached. 12 // Block onCreate() of Chrome until a Java debugger is attached.
13 public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger" ; 13 public static final String WAIT_FOR_JAVA_DEBUGGER = "wait-for-java-debugger" ;
14 14
15 // Overrides low-end device detection, disabling low-end device optimization s. 15 // Force low-end device when set to 1;
16 public static final String DISABLE_LOW_END_DEVICE_MODE = "disable-low-end-de vice-mode"; 16 // Force non-low-end device when set to 0;
17 17 // Auto-detect low-end device when set to other values or empty;
18 // Overrides low-end device detection, enabling low-end device optimizations . 18 public static final String LOW_END_DEVICE_MODE = "low-end-device-mode";
19 public static final String ENABLE_LOW_END_DEVICE_MODE = "enable-low-end-devi ce-mode";
20 19
21 // Adds additional thread idle time information into the trace event output. 20 // Adds additional thread idle time information into the trace event output.
22 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing"; 21 public static final String ENABLE_IDLE_TRACING = "enable-idle-tracing";
23 22
24 // Prevent instantiation. 23 // Prevent instantiation.
25 private BaseSwitches() {} 24 private BaseSwitches() {}
26 } 25 }
OLDNEW
« 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