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

Issue 2581703003: Defer focus handling to the content if it claims to have focus. (Closed)

Created:
4 years ago by yhanada
Modified:
3 years, 11 months ago
Reviewers:
yoshiki
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, yusukes+watch_chromium.org, Peter Beverloo, mlamouri+watch-notifications_chromium.org, lhchavez+watch_chromium.org, hidehiko+watch_chromium.org, awdf+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Defer focus handling to the content if it claims to have focus. - Added |CustomNotificationView::OnContentFocused| and |CustomNotificationView::OnContentBlured| for handling a focus painter. BUG=661105 TEST=n/a; no behavior change. Review-Url: https://codereview.chromium.org/2581703003 Cr-Commit-Position: refs/heads/master@{#441645} Committed: https://chromium.googlesource.com/chromium/src/+/40f710956ce7f40fe60008b5da0c818cf04b49be

Patch Set 1 #

Total comments: 2

Patch Set 2 : address the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -2 lines) Patch
M ui/arc/notification/arc_custom_notification_view.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/arc/notification/arc_custom_notification_view.cc View 1 3 chunks +15 lines, -0 lines 0 comments Download
M ui/message_center/views/custom_notification_view.h View 4 chunks +14 lines, -0 lines 0 comments Download
M ui/message_center/views/custom_notification_view.cc View 1 3 chunks +39 lines, -0 lines 0 comments Download
M ui/message_center/views/message_center_view.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
yhanada
Hi yoshiki@, PTAL.
4 years ago (2016-12-16 10:41:38 UTC) #6
yoshiki
Thanks. LGTM https://codereview.chromium.org/2581703003/diff/1/ui/message_center/views/custom_notification_view.cc File ui/message_center/views/custom_notification_view.cc (right): https://codereview.chromium.org/2581703003/diff/1/ui/message_center/views/custom_notification_view.cc#newcode98 ui/message_center/views/custom_notification_view.cc:98: if (contents_view_->IsFocusable()) { nit: no braces for ...
3 years, 11 months ago (2017-01-05 07:12:39 UTC) #7
yhanada
Thanks for reviewing! https://codereview.chromium.org/2581703003/diff/1/ui/message_center/views/custom_notification_view.cc File ui/message_center/views/custom_notification_view.cc (right): https://codereview.chromium.org/2581703003/diff/1/ui/message_center/views/custom_notification_view.cc#newcode98 ui/message_center/views/custom_notification_view.cc:98: if (contents_view_->IsFocusable()) { On 2017/01/05 07:12:39, ...
3 years, 11 months ago (2017-01-05 13:12:44 UTC) #8
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/2581703003/20001
3 years, 11 months ago (2017-01-05 13:13:06 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 13:50:44 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/40f710956ce7f40fe60008b5da0c...

Powered by Google App Engine
This is Rietveld 408576698