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

Issue 2291193003: arc: Fix mouse scroll on notification (Closed)

Created:
4 years, 3 months ago by xiyuan
Modified:
4 years, 3 months ago
Reviewers:
yoshiki
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, yusukes+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Fix mouse scroll on notification Forward ScrollEvent/MouseWheelEvent to the hosting widget so that it is processed and reaches the containing ScrollView. Also not forward touch events to ArcCustomNotificationView since a View is not supposed to receive touch events. This gets rid of the NOTREACHED() warning in chrome log. BUG=b/31115616 BUG=642501 Committed: https://crrev.com/c00a606faa2cd8099f9d88abe08e93c7418fb1fb Cr-Commit-Position: refs/heads/master@{#415708}

Patch Set 1 #

Patch Set 2 : handle mouse wheel and move forwarding to widget code into EventForwarder #

Total comments: 2

Patch Set 3 : comment on why not forward touches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M ui/arc/notification/arc_custom_notification_view.cc View 1 2 1 chunk +27 lines, -1 line 0 comments Download

Messages

Total messages: 24 (15 generated)
xiyuan
4 years, 3 months ago (2016-08-30 21:17:12 UTC) #4
yoshiki
lgtm
4 years, 3 months ago (2016-08-31 03:20:25 UTC) #8
xiyuan
Thank you for the quick review!
4 years, 3 months ago (2016-08-31 04:27:41 UTC) #9
xiyuan
Mind taking another look ? Just realized that I forgot to handle MouseWheelEvent which is ...
4 years, 3 months ago (2016-08-31 04:40:54 UTC) #11
yoshiki
LGTM with nit. Thanks! https://codereview.chromium.org/2291193003/diff/20001/ui/arc/notification/arc_custom_notification_view.cc File ui/arc/notification/arc_custom_notification_view.cc (right): https://codereview.chromium.org/2291193003/diff/20001/ui/arc/notification/arc_custom_notification_view.cc#newcode47 ui/arc/notification/arc_custom_notification_view.cc:47: else if (!event->IsTouchEvent()) nit: as ...
4 years, 3 months ago (2016-08-31 18:04:37 UTC) #16
xiyuan
https://codereview.chromium.org/2291193003/diff/20001/ui/arc/notification/arc_custom_notification_view.cc File ui/arc/notification/arc_custom_notification_view.cc (right): https://codereview.chromium.org/2291193003/diff/20001/ui/arc/notification/arc_custom_notification_view.cc#newcode47 ui/arc/notification/arc_custom_notification_view.cc:47: else if (!event->IsTouchEvent()) On 2016/08/31 18:04:37, yoshiki wrote: > ...
4 years, 3 months ago (2016-08-31 18:08:23 UTC) #17
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/2291193003/40001
4 years, 3 months ago (2016-08-31 18:11:05 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-31 19:04:52 UTC) #22
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 19:07:47 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c00a606faa2cd8099f9d88abe08e93c7418fb1fb
Cr-Commit-Position: refs/heads/master@{#415708}

Powered by Google App Engine
This is Rietveld 408576698