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

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: nit 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 8e079771de8fd13a53efb86836f29241748b81ed..6bb7406a3078d334fa964fc627b31488998132ec 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
@@ -140,7 +140,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