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

Issue 2256343003: Update ui::PointerEvent to support mouse wheel and capture change events. (Closed)

Created:
4 years, 4 months ago by riajiang
Modified:
4 years, 3 months ago
Reviewers:
jonross, sadrul, sky, dcheng
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, tfarina, tdresser+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Update ui::PointerEvent to support mouse wheel and capture change events. BUG=638630 TEST=mus_ws_unittests events_unittests blink_converters_unittests ash_unittests views_mus_unittests Committed: https://crrev.com/70fa9571cb0b8081e259749baf210876b211363e Cr-Commit-Position: refs/heads/master@{#414812}

Patch Set 1 #

Total comments: 9

Patch Set 2 : . #

Total comments: 15

Patch Set 3 : location, target etc #

Total comments: 4

Patch Set 4 : pointer id #

Total comments: 2

Patch Set 5 : comment #

Total comments: 2

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -107 lines) Patch
M ash/aura/pointer_watcher_adapter.cc View 1 2 3 4 5 3 chunks +13 lines, -13 lines 0 comments Download
M ash/aura/pointer_watcher_adapter_unittest.cc View 1 2 3 4 5 5 chunks +34 lines, -18 lines 0 comments Download
M ash/shared/immersive_fullscreen_controller.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/shared/immersive_fullscreen_controller.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M mojo/converters/blink/blink_input_events_type_converters.cc View 1 2 4 chunks +6 lines, -7 lines 0 comments Download
M mojo/converters/blink/blink_input_events_type_converters_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M services/ui/ws/event_dispatcher.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/event_dispatcher.cc View 1 2 3 4 5 4 chunks +7 lines, -21 lines 0 comments Download
M services/ui/ws/event_dispatcher_unittest.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M services/ui/ws/platform_display.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M ui/events/event.h View 1 2 3 4 5 4 chunks +17 lines, -8 lines 0 comments Download
M ui/events/event.cc View 1 2 3 4 5 4 chunks +22 lines, -0 lines 0 comments Download
M ui/events/event_constants.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M ui/events/event_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -16 lines 0 comments Download
M ui/views/mus/pointer_watcher_event_router.cc View 1 2 2 chunks +9 lines, -2 lines 0 comments Download
M ui/views/mus/pointer_watcher_event_router_unittest.cc View 1 2 3 4 5 2 chunks +20 lines, -0 lines 0 comments Download
M ui/views/pointer_watcher.h View 1 2 3 4 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 36 (17 generated)
riajiang
PTAL. Thanks!
4 years, 4 months ago (2016-08-19 02:52:57 UTC) #9
sadrul
https://codereview.chromium.org/2256343003/diff/20001/ash/wm/immersive_fullscreen_controller.cc File ash/wm/immersive_fullscreen_controller.cc (right): https://codereview.chromium.org/2256343003/diff/20001/ash/wm/immersive_fullscreen_controller.cc#newcode282 ash/wm/immersive_fullscreen_controller.cc:282: nullptr); Do you need this special block? You have ...
4 years, 4 months ago (2016-08-19 04:18:27 UTC) #10
riajiang
https://codereview.chromium.org/2256343003/diff/20001/ash/wm/immersive_fullscreen_controller.cc File ash/wm/immersive_fullscreen_controller.cc (right): https://codereview.chromium.org/2256343003/diff/20001/ash/wm/immersive_fullscreen_controller.cc#newcode282 ash/wm/immersive_fullscreen_controller.cc:282: nullptr); On 2016/08/19 04:18:27, sadrul wrote: > Do you ...
4 years, 4 months ago (2016-08-19 16:19:39 UTC) #12
sadrul
https://codereview.chromium.org/2256343003/diff/20001/services/ui/ws/event_dispatcher.cc File services/ui/ws/event_dispatcher.cc (right): https://codereview.chromium.org/2256343003/diff/20001/services/ui/ws/event_dispatcher.cc#newcode314 services/ui/ws/event_dispatcher.cc:314: void EventDispatcher::ProcessLocatedEvent(const ui::LocatedEvent& event) { On 2016/08/19 16:19:39, riajiang ...
4 years, 4 months ago (2016-08-19 16:38:59 UTC) #13
riajiang
https://codereview.chromium.org/2256343003/diff/60001/ash/pointer_watcher_delegate_aura.cc File ash/pointer_watcher_delegate_aura.cc (right): https://codereview.chromium.org/2256343003/diff/60001/ash/pointer_watcher_delegate_aura.cc#newcode91 ash/pointer_watcher_delegate_aura.cc:91: : GetLocationInScreen(original_event); On 2016/08/19 16:38:58, sadrul wrote: > Why ...
4 years, 4 months ago (2016-08-19 17:23:42 UTC) #14
sadrul
https://codereview.chromium.org/2256343003/diff/60001/ash/pointer_watcher_delegate_aura.cc File ash/pointer_watcher_delegate_aura.cc (right): https://codereview.chromium.org/2256343003/diff/60001/ash/pointer_watcher_delegate_aura.cc#newcode91 ash/pointer_watcher_delegate_aura.cc:91: : GetLocationInScreen(original_event); On 2016/08/19 17:23:42, riajiang wrote: > On ...
4 years, 4 months ago (2016-08-22 14:55:19 UTC) #15
riajiang
PTAL. I'm still getting event location in this CL. I'll remove that param in PointerWatcher ...
4 years, 4 months ago (2016-08-22 16:03:05 UTC) #16
sadrul
lgtm https://codereview.chromium.org/2256343003/diff/80001/services/ui/ws/event_dispatcher.cc File services/ui/ws/event_dispatcher.cc (right): https://codereview.chromium.org/2256343003/diff/80001/services/ui/ws/event_dispatcher.cc#newcode314 services/ui/ws/event_dispatcher.cc:314: void EventDispatcher::ProcessLocatedEvent(const ui::LocatedEvent& event) { ProcessPointerEvent(const ui::PointerEvent&)? https://codereview.chromium.org/2256343003/diff/80001/services/ui/ws/event_dispatcher.cc#newcode346 ...
4 years, 4 months ago (2016-08-22 17:15:57 UTC) #17
riajiang
+dcheng@, could you take a look at mojo/? Thanks. https://codereview.chromium.org/2256343003/diff/80001/services/ui/ws/event_dispatcher.cc File services/ui/ws/event_dispatcher.cc (right): https://codereview.chromium.org/2256343003/diff/80001/services/ui/ws/event_dispatcher.cc#newcode314 services/ui/ws/event_dispatcher.cc:314: ...
4 years, 4 months ago (2016-08-22 20:16:41 UTC) #19
sky
LGTM https://codereview.chromium.org/2256343003/diff/100001/ui/views/pointer_watcher.h File ui/views/pointer_watcher.h (left): https://codereview.chromium.org/2256343003/diff/100001/ui/views/pointer_watcher.h#oldcode38 ui/views/pointer_watcher.h:38: // PointerWatcher is informed of capture changes as ...
4 years, 4 months ago (2016-08-22 20:51:45 UTC) #20
riajiang
https://codereview.chromium.org/2256343003/diff/100001/ui/views/pointer_watcher.h File ui/views/pointer_watcher.h (left): https://codereview.chromium.org/2256343003/diff/100001/ui/views/pointer_watcher.h#oldcode38 ui/views/pointer_watcher.h:38: // PointerWatcher is informed of capture changes as it's ...
4 years, 4 months ago (2016-08-22 22:00:19 UTC) #21
jonross
https://codereview.chromium.org/2256343003/diff/120001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2256343003/diff/120001/ui/events/event.h#newcode141 ui/events/event.h:141: bool IsMousePointerEvent() const; Would it be possible to get ...
4 years, 3 months ago (2016-08-26 14:24:13 UTC) #23
dcheng
lgtm
4 years, 3 months ago (2016-08-26 14:45:00 UTC) #24
jonross
https://codereview.chromium.org/2256343003/diff/120001/ui/events/event.h File ui/events/event.h (right): https://codereview.chromium.org/2256343003/diff/120001/ui/events/event.h#newcode141 ui/events/event.h:141: bool IsMousePointerEvent() const; On 2016/08/26 14:24:13, jonross wrote: > ...
4 years, 3 months ago (2016-08-26 14:59:05 UTC) #25
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/2256343003/140001
4 years, 3 months ago (2016-08-26 16:02:22 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/282015)
4 years, 3 months ago (2016-08-26 17:25:50 UTC) #30
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/2256343003/140001
4 years, 3 months ago (2016-08-26 20:16:48 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:140001)
4 years, 3 months ago (2016-08-26 21:31:09 UTC) #34
commit-bot: I haz the power
4 years, 3 months ago (2016-08-26 21:33:53 UTC) #36
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/70fa9571cb0b8081e259749baf210876b211363e
Cr-Commit-Position: refs/heads/master@{#414812}

Powered by Google App Engine
This is Rietveld 408576698