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

Issue 2318463002: arc: Make ChromeVox read an ARC custom notification (Closed)

Created:
4 years, 3 months ago by yhanada
Modified:
4 years, 3 months ago
Reviewers:
xiyuan, yoshiki, yawano, dcheng
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, viettrungluu+watch_chromium.org, hidehiko+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, lhchavez+watch_chromium.org, darin (slow to review), qsr+mojo_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Make notifications from Android read by ChromeVox. BUG=644154 TEST=Go through notification list in message center with ChromeVox, then ChromeVox read ARC custom notifications Committed: https://crrev.com/02f8ca650a8976e67ec89f0a9c87da70fc34ea2e Cr-Commit-Position: refs/heads/master@{#417202}

Patch Set 1 #

Patch Set 2 : arc: Make notifications from Android read by ChromeVox. #

Patch Set 3 : rebase and update comments #

Total comments: 2

Patch Set 4 : update after review #

Patch Set 5 : arc: Make ChromeVox read an ARC custom notification. #

Patch Set 6 : remove unused field and include #

Total comments: 8

Patch Set 7 : cleanup #

Total comments: 4

Patch Set 8 : rebase #

Total comments: 4

Patch Set 9 : rebase and cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -24 lines) Patch
M components/arc/common/notifications.mojom View 2 chunks +4 lines, -1 line 0 comments Download
M ui/arc/notification/arc_custom_notification_item.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ui/message_center/notification.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M ui/message_center/notification.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M ui/message_center/views/message_view.h View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M ui/message_center/views/message_view.cc View 1 2 3 4 5 6 7 8 4 chunks +25 lines, -0 lines 0 comments Download
M ui/message_center/views/notification_view.h View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 3 4 4 chunks +0 lines, -17 lines 0 comments Download

Messages

Total messages: 33 (10 generated)
yhanada
PTAL. Thanks.
4 years, 3 months ago (2016-09-06 07:10:06 UTC) #6
yawano
https://codereview.chromium.org/2318463002/diff/40001/ui/arc/notification/arc_custom_notification_item.cc File ui/arc/notification/arc_custom_notification_item.cc (right): https://codereview.chromium.org/2318463002/diff/40001/ui/arc/notification/arc_custom_notification_item.cc#newcode85 ui/arc/notification/arc_custom_notification_item.cc:85: accessible_name_ = base::UTF8ToUTF16(data.accessible_name.get()); You will need to set empty ...
4 years, 3 months ago (2016-09-06 08:07:17 UTC) #7
yhanada
https://codereview.chromium.org/2318463002/diff/40001/ui/arc/notification/arc_custom_notification_item.cc File ui/arc/notification/arc_custom_notification_item.cc (right): https://codereview.chromium.org/2318463002/diff/40001/ui/arc/notification/arc_custom_notification_item.cc#newcode85 ui/arc/notification/arc_custom_notification_item.cc:85: accessible_name_ = base::UTF8ToUTF16(data.accessible_name.get()); On 2016/09/06 08:07:16, yawano wrote: > ...
4 years, 3 months ago (2016-09-06 10:15:01 UTC) #8
yawano
lgtm
4 years, 3 months ago (2016-09-06 10:16:47 UTC) #9
xiyuan
lgtm
4 years, 3 months ago (2016-09-06 16:07:27 UTC) #10
yoshiki
I think NotificationView::SetAccessibleName() may override the accessible name you've set. How about adding CustomNotificationView::SetAccessibleName() and ...
4 years, 3 months ago (2016-09-06 18:47:20 UTC) #11
xiyuan
CustomNotificationView derives from MessageView and is a sibling of NotificationView in the class hierarchy. So ...
4 years, 3 months ago (2016-09-06 21:06:31 UTC) #12
yoshiki
On 2016/09/06 21:06:31, xiyuan wrote: > CustomNotificationView derives from MessageView and is a sibling of ...
4 years, 3 months ago (2016-09-07 03:07:06 UTC) #13
yhanada
On 2016/09/07 03:07:06, yoshiki wrote: > On 2016/09/06 21:06:31, xiyuan wrote: > > CustomNotificationView derives ...
4 years, 3 months ago (2016-09-07 08:05:02 UTC) #14
yoshiki
Thanks! Almost there. https://codereview.chromium.org/2318463002/diff/100001/ui/arc/notification/arc_custom_notification_item.cc File ui/arc/notification/arc_custom_notification_item.cc (right): https://codereview.chromium.org/2318463002/diff/100001/ui/arc/notification/arc_custom_notification_item.cc#newcode68 ui/arc/notification/arc_custom_notification_item.cc:68: if (!data.accessible_name.is_null()) { nit: no need ...
4 years, 3 months ago (2016-09-07 08:29:34 UTC) #15
yhanada
https://codereview.chromium.org/2318463002/diff/100001/ui/arc/notification/arc_custom_notification_item.cc File ui/arc/notification/arc_custom_notification_item.cc (right): https://codereview.chromium.org/2318463002/diff/100001/ui/arc/notification/arc_custom_notification_item.cc#newcode68 ui/arc/notification/arc_custom_notification_item.cc:68: if (!data.accessible_name.is_null()) { On 2016/09/07 08:29:34, yoshiki wrote: > ...
4 years, 3 months ago (2016-09-07 08:52:26 UTC) #16
yoshiki
lgtm with nits https://codereview.chromium.org/2318463002/diff/120001/ui/message_center/notification.cc File ui/message_center/notification.cc (right): https://codereview.chromium.org/2318463002/diff/120001/ui/message_center/notification.cc#newcode42 ui/message_center/notification.cc:42: accessible_name() {} nit: you can remove ...
4 years, 3 months ago (2016-09-07 08:57:46 UTC) #17
yhanada
Thank you for reviewing! https://codereview.chromium.org/2318463002/diff/120001/ui/message_center/notification.cc File ui/message_center/notification.cc (right): https://codereview.chromium.org/2318463002/diff/120001/ui/message_center/notification.cc#newcode42 ui/message_center/notification.cc:42: accessible_name() {} On 2016/09/07 08:57:46, ...
4 years, 3 months ago (2016-09-07 09:08:04 UTC) #18
yhanada
dcheng@: could you review notifications.mojom change? Thanks!
4 years, 3 months ago (2016-09-07 09:08:40 UTC) #20
yhanada
dcheng@: could you review notifications.mojom change? Thanks!
4 years, 3 months ago (2016-09-07 09:08:41 UTC) #22
yhanada
dcheng@: could you review notifications.mojom change? Thanks!
4 years, 3 months ago (2016-09-07 09:08:43 UTC) #23
yhanada
oops... sorry for annoying duplicate comments
4 years, 3 months ago (2016-09-07 09:11:14 UTC) #24
xiyuan
https://codereview.chromium.org/2318463002/diff/140001/ui/message_center/notification.h File ui/message_center/notification.h (right): https://codereview.chromium.org/2318463002/diff/140001/ui/message_center/notification.h#newcode228 ui/message_center/notification.h:228: base::string16 accessible_name() const { nit: const base::string16& to avoid ...
4 years, 3 months ago (2016-09-07 16:26:08 UTC) #25
dcheng
mojo lgtm https://codereview.chromium.org/2318463002/diff/140001/ui/message_center/views/message_view.cc File ui/message_center/views/message_view.cc (right): https://codereview.chromium.org/2318463002/diff/140001/ui/message_center/views/message_view.cc#newcode44 ui/message_center/views/message_view.cc:44: std::vector<base::string16> accessible_lines; It might be slightly more ...
4 years, 3 months ago (2016-09-07 22:15:02 UTC) #26
yhanada
Thank you for reviewing. https://codereview.chromium.org/2318463002/diff/140001/ui/message_center/notification.h File ui/message_center/notification.h (right): https://codereview.chromium.org/2318463002/diff/140001/ui/message_center/notification.h#newcode228 ui/message_center/notification.h:228: base::string16 accessible_name() const { On ...
4 years, 3 months ago (2016-09-08 03:37:24 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2318463002/160001
4 years, 3 months ago (2016-09-08 03:43:40 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 3 months ago (2016-09-08 05:51:11 UTC) #31
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 05:53:52 UTC) #33
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/02f8ca650a8976e67ec89f0a9c87da70fc34ea2e
Cr-Commit-Position: refs/heads/master@{#417202}

Powered by Google App Engine
This is Rietveld 408576698