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

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

Issue 1263573011: Let client specify content description for custom action button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix corresponding test 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 7fd6de4b1f4bce0a002dc43d18d4564e24128d7b..cd5f9b4278188d12debd88d7bacebfae625e1a25 100644
--- a/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java
+++ b/chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java
@@ -51,6 +51,12 @@ public class CustomTabsIntent {
public static final String KEY_ICON = "android.support.customtabs.customaction.ICON";
/**
+ * Key that specifies the content description for the custom action button.
+ */
+ public static final String KEY_DESCRIPTION =
+ "android.support.customtabs.customaction.DESCRIPTION";
+
+ /**
* Key that specifies the PendingIntent to launch when the action button or menu item was
* clicked. The custom tab will be calling {@link PendingIntent#send()} on clicks after adding
* the url as data. The client app can call {@link Intent#getDataString()} to get the url.

Powered by Google App Engine
This is Rietveld 408576698