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

Unified Diff: chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java

Issue 1305253006: [Custom Tabs]Add API for updating action button as ContentProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/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 cb33ff719187d87afe8cb516419cc95fa51af527..17f5f178d72f0a3ae011c05ed568954e601602ce 100644
--- a/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java
+++ b/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java
@@ -82,6 +82,11 @@ public class CustomTabsIntent {
public static final String KEY_MENU_ITEM_TITLE =
"android.support.customtabs.customaction.MENU_ITEM_TITLE";
+ public static final String EXTRA_RETURN = "android.support.customtabs.extra.UPDATE_RESULT";
+
+ public static final String METHOD_UPDATE_ACTION_BUTTON =
+ "android.support.customtabs.function.updateActionButton";
+
/**
* Bundle constructed out of {@link ActivityOptions} that will be running when the
* {@link Activity} that holds the custom tab gets finished. A similar ActivityOptions

Powered by Google App Engine
This is Rietveld 408576698