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

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

Issue 2853583002: 🏠 Add expand button and flag to enable it (Closed)
Patch Set: rebase Created 3 years, 8 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: chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java b/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
index 8926478adf010faeb43b60a6cb5723137541a4c9..e1bb9e01e47190499cdabe63db3af3d39bb76b88 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/util/FeatureUtilities.java
@@ -265,6 +265,13 @@ public class FeatureUtilities {
return sChromeHomeEnabled;
}
+ /**
+ * @return Whether or not the expand button for Chrome Home is enabled.
+ */
+ public static boolean isChromeHomeExpandButtonEnabled() {
+ return ChromeFeatureList.isEnabled(ChromeFeatureList.CHROME_HOME_EXPAND_BUTTON);
+ }
+
private static native void nativeSetCustomTabVisible(boolean visible);
private static native void nativeSetIsInMultiWindowMode(boolean isInMultiWindowMode);
}

Powered by Google App Engine
This is Rietveld 408576698