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

Issue 1441723002: Notification custom layouts: paint the button icon for Material. (Closed)

Created:
5 years, 1 month ago by Michael van Ouwerkerk
Modified:
5 years, 1 month ago
CC:
chromium-reviews, Peter Beverloo, mlamouri+watch-notifications_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Notification custom layouts: paint the button icon for Material. * a11y: TalkBack still says things like "Settings button" when tapped, as the Button is the view on top * RTL is handled, the icon is placed on the right when the system is in RTL mode BUG=554073 Committed: https://crrev.com/4bf4d613f09a253f35ab59059194faffb1a57b76 Cr-Commit-Position: refs/heads/master@{#360571}

Patch Set 1 #

Patch Set 2 : Add TODOs. #

Patch Set 3 : Fix build, some cleanups. #

Patch Set 4 : Fix RTL and add unit test for paintBitmap. #

Patch Set 5 : Documentation tweaks. #

Total comments: 30

Patch Set 6 : Address peter's and newt's comments. #

Patch Set 7 : Delete unused constant. #

Total comments: 2

Patch Set 8 : Simplify setting a color filter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -28 lines) Patch
M chrome/android/java/res/layout/web_notification_button.xml View 1 2 3 4 5 6 7 1 chunk +37 lines, -11 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/notifications/CustomNotificationBuilder.java View 1 2 3 4 5 6 7 6 chunks +80 lines, -17 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
Michael van Ouwerkerk
Peter, can you do a general review please? Newton, can you review as UI owner ...
5 years, 1 month ago (2015-11-13 16:18:17 UTC) #3
Peter Beverloo
Overall I'm OK with this, but having to do the porter/duff multiply manually is not ...
5 years, 1 month ago (2015-11-16 11:18:13 UTC) #4
newt (away)
https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml File chrome/android/java/res/layout/web_notification_button.xml (right): https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml#newcode11 chrome/android/java/res/layout/web_notification_button.xml:11: <FrameLayout Do these views need to overlap? If not, ...
5 years, 1 month ago (2015-11-16 17:50:09 UTC) #5
Michael van Ouwerkerk
Thanks for the reviews... please take another look :-) https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml File chrome/android/java/res/layout/web_notification_button.xml (right): https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml#newcode11 chrome/android/java/res/layout/web_notification_button.xml:11: ...
5 years, 1 month ago (2015-11-17 12:00:24 UTC) #6
Michael van Ouwerkerk
On 2015/11/16 11:18:13, Peter Beverloo wrote: > Overall I'm OK with this, but having to ...
5 years, 1 month ago (2015-11-17 12:07:31 UTC) #7
newt (away)
https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml File chrome/android/java/res/layout/web_notification_button.xml (right): https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml#newcode11 chrome/android/java/res/layout/web_notification_button.xml:11: <FrameLayout On 2015/11/17 12:00:23, Michael van Ouwerkerk wrote: > ...
5 years, 1 month ago (2015-11-17 20:04:40 UTC) #8
Michael van Ouwerkerk
Thanks! Please take another look. https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml File chrome/android/java/res/layout/web_notification_button.xml (right): https://codereview.chromium.org/1441723002/diff/80001/chrome/android/java/res/layout/web_notification_button.xml#newcode11 chrome/android/java/res/layout/web_notification_button.xml:11: <FrameLayout On 2015/11/17 20:04:40, ...
5 years, 1 month ago (2015-11-18 14:08:41 UTC) #9
newt (away)
lgtm
5 years, 1 month ago (2015-11-18 19:14:54 UTC) #10
Peter Beverloo
lgtm
5 years, 1 month ago (2015-11-19 13:23:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441723002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441723002/140001
5 years, 1 month ago (2015-11-19 13:24:20 UTC) #13
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-19 13:28:29 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 13:29:23 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/4bf4d613f09a253f35ab59059194faffb1a57b76
Cr-Commit-Position: refs/heads/master@{#360571}

Powered by Google App Engine
This is Rietveld 408576698