Index: chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java |
diff --git a/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java b/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java |
index 3cb66a23eafa1061388b3d2bffb419a55a343937..c3c3a9139c8a07ec2340a9e260e4940a5f66d4fc 100644 |
--- a/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java |
+++ b/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java |
@@ -14,6 +14,7 @@ import android.net.Uri; |
import android.os.Build; |
import android.os.Bundle; |
import android.os.IBinder; |
+import android.widget.RemoteViews; |
import java.lang.reflect.InvocationTargetException; |
import java.lang.reflect.Method; |
@@ -162,6 +163,14 @@ public class CustomTabsIntent { |
"android.support.customtabs.extra.SECONDARY_TOOLBAR_COLOR"; |
/** |
+ * Extra that specifies the {@link RemoteViews} showing on the secondary toolbar. If this extra |
+ * is set, the other secondary toolbar configurations will be overriden. The height of the |
+ * {@link RemoteViews} should not exceed 56dp. |
+ */ |
+ public static final String EXTRA_SECONDARY_TOOLBAR_REMOTEVIEWS = |
+ "android.support.customtabs.extra.EXTRA_SECONDARY_TOOLBAR_REMOTEVIEWS"; |
+ |
+ /** |
* Convenience method to create a VIEW intent without a session for the given package. |
* @param packageName The package name to set in the intent. |
* @param data The data {@link Uri} to be used in the intent. |