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

Issue 1263573011: Let client specify content description for custom action button (Closed)

Created:
5 years, 4 months ago by Ian Wen
Modified:
5 years, 4 months ago
Reviewers:
Yusuf, newt (away)
CC:
chromium-reviews, ianwen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Let client specify content description for custom action button Per accessibility review, the custom action button should always carry meaningful content description. This CL adds a key for the custom button bundle in intent. BUG=516465 Committed: https://crrev.com/a2e5182ec55cfd1edd38c52a250ec12dde3e4295 Cr-Commit-Position: refs/heads/master@{#342916}

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 3

Patch Set 3 : Make description a must #

Total comments: 3

Patch Set 4 : remove a todo of mine #

Patch Set 5 : fix corresponding test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -33 lines) Patch
M chrome/android/java/res/layout/custom_tabs_toolbar.xml View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/android/support/customtabs/CustomTabsIntent.java View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java View 1 2 3 6 chunks +17 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/CustomTabToolbar.java View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarLayout.java View 2 chunks +8 lines, -7 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarManager.java View 1 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/toolbar/ToolbarPhone.java View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/android/java/strings/android_chrome_strings.grd View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 21 (9 generated)
Ian Wen
5 years, 4 months ago (2015-08-05 00:28:19 UTC) #2
Yusuf
https://codereview.chromium.org/1263573011/diff/20001/chrome/android/java/res/layout/custom_tabs_toolbar.xml File chrome/android/java/res/layout/custom_tabs_toolbar.xml (left): https://codereview.chromium.org/1263573011/diff/20001/chrome/android/java/res/layout/custom_tabs_toolbar.xml#oldcode71 chrome/android/java/res/layout/custom_tabs_toolbar.xml:71: android:contentDescription="@string/accessibility_toolbar_btn_custom" /> We might still want to keep this ...
5 years, 4 months ago (2015-08-05 18:43:04 UTC) #3
Ian Wen
All done. One remaining question is that if I land this CL to M45, then ...
5 years, 4 months ago (2015-08-05 21:22:45 UTC) #4
Yusuf
lgtm after a few more renamings https://codereview.chromium.org/1263573011/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java File chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java (right): https://codereview.chromium.org/1263573011/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java#newcode222 chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabIntentDataProvider.java:222: public boolean shouldShowActionButton() ...
5 years, 4 months ago (2015-08-10 05:49:36 UTC) #5
Yusuf
we can land this now.
5 years, 4 months ago (2015-08-11 16:55:29 UTC) #6
Ian Wen
newt@chromium.org: Please review changes in strings.grd
5 years, 4 months ago (2015-08-11 16:56:09 UTC) #8
newt (away)
android_chrome_strings.grd lgtm
5 years, 4 months ago (2015-08-11 18:42:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263573011/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263573011/40001
5 years, 4 months ago (2015-08-11 18:54:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263573011/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263573011/60001
5 years, 4 months ago (2015-08-11 21:18:38 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263573011/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263573011/80001
5 years, 4 months ago (2015-08-11 21:32:23 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-08-11 22:20:40 UTC) #20
commit-bot: I haz the power
5 years, 4 months ago (2015-08-11 22:21:19 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a2e5182ec55cfd1edd38c52a250ec12dde3e4295
Cr-Commit-Position: refs/heads/master@{#342916}

Powered by Google App Engine
This is Rietveld 408576698