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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java

Issue 1155113004: Merge ApplicationSwitches.java and ChromeSwitches.java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | chrome/android/java_staging/src/org/chromium/chrome/browser/ApplicationSwitches.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
index 9dfbe2ce56b28afc460b5ebfa07f81fb0f9af8a4..91f01e159dfdea3a20921845c616dd6bfd0962e8 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeSwitches.java
@@ -93,6 +93,11 @@ public abstract class ChromeSwitches {
// (per tab stack)? These take very low memory but have poor quality.
public static final String APPROXIMATION_THUMBNAILS = "approximation-thumbnails";
+ /**
+ * Disable bottom infobar-like Reader Mode panel.
+ */
+ public static final String DISABLE_READER_MODE_BOTTOM_BAR = "disable-reader-mode-bottom-bar";
newt (away) 2015/05/26 14:14:04 nit: I'd put DISABLE_READER_MODE_BOTTOM_BAR and EN
+
///////////////////////////////////////////////////////////////////////////////////////////////
// Native Switches
///////////////////////////////////////////////////////////////////////////////////////////////
@@ -142,6 +147,24 @@ public abstract class ChromeSwitches {
public static final String USE_FAKE_DEVICE_FOR_MEDIA_STREAM =
"use-fake-device-for-media-stream";
+ /**
+ * Disables the new icon-centric NTP design.
+ * Native switch - switches::kDisableIconNtp
+ */
+ public static final String DISABLE_ICON_NTP = "disable-icon-ntp";
+
+ /**
+ * Enables the new icon-centric NTP design.
+ * Native switch - switches::kEnableIconNtp
+ */
+ public static final String ENABLE_ICON_NTP = "enable-icon-ntp";
+
+ /**
+ * Enable Reader Mode button.
+ * Native switch - switches::kEnableReaderModeToolbarIcon
+ */
+ public static final String ENABLE_READER_MODE_BUTTON = "enable-reader-mode-toolbar-icon";
+
// Prevent instantiation.
private ChromeSwitches() {}
}
« no previous file with comments | « no previous file | chrome/android/java_staging/src/org/chromium/chrome/browser/ApplicationSwitches.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698