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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.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/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
index dbec3866d67aa48105d9654f02c57b6ff83fe3f2..3e426661990a58e7c9365e74507822700eecacde 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
@@ -145,7 +145,7 @@ public class CustomTabActivity extends ChromeActivity {
ApiCompatibilityUtils.setTaskDescription(this, null, null, toolbarColor);
if (mIntentDataProvider.shouldShowActionButton()) {
getToolbarManager().addCustomActionButton(mIntentDataProvider.getActionButtonIcon(),
- new OnClickListener() {
+ mIntentDataProvider.getActionButtonDescription(), new OnClickListener() {
@Override
public void onClick(View v) {
mIntentDataProvider.sendButtonPendingIntentWithUrl(

Powered by Google App Engine
This is Rietveld 408576698