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

Issue 2301593002: Add POINTER_WHEEL_CHANGED event to mojo. (Closed)

Created:
4 years, 3 months ago by riajiang
Modified:
4 years, 3 months ago
Reviewers:
Tom Sepez, sadrul, sky
CC:
chromium-reviews, rjkroege, sadrul, qsr+mojo_chromium.org, tdresser+watch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, kalyank, darin (slow to review)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add POINTER_WHEEL_CHANGED event to mojo. Also creating a MouseWheelEvent instead of a MouseEvent from PointerEvent if its type is POINTER_WHEEL_CHANGED to avoid stack overflow. BUG=642486 TEST=events_unittests + manual Committed: https://crrev.com/ec96963b90a87eb8e30dd9e8b74f5951eeda14f2 Cr-Commit-Position: refs/heads/master@{#416072}

Patch Set 1 #

Total comments: 2

Patch Set 2 : . #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -53 lines) Patch
M ash/shared/immersive_fullscreen_controller.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M services/ui/public/cpp/window_tree_client.cc View 1 chunk +7 lines, -2 lines 0 comments Download
M ui/events/event.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ui/events/event.cc View 1 2 5 chunks +13 lines, -5 lines 0 comments Download
M ui/events/mojo/event_constants.mojom View 1 chunk +1 line, -1 line 0 comments Download
M ui/events/mojo/event_struct_traits.cc View 7 chunks +26 lines, -34 lines 0 comments Download
M ui/events/mojo/struct_traits_unittest.cc View 2 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
riajiang
tsepez@, could you take a look at ui/events/mojo? sadrul@, could you take a look at ...
4 years, 3 months ago (2016-08-31 19:01:51 UTC) #3
sky
LGTM
4 years, 3 months ago (2016-08-31 20:24:27 UTC) #4
Tom Sepez
lgtm
4 years, 3 months ago (2016-08-31 22:01:20 UTC) #5
sadrul
https://codereview.chromium.org/2301593002/diff/1/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/2301593002/diff/1/ui/events/event.cc#newcode501 ui/events/event.cc:501: SetType(ET_MOUSEWHEEL); Can you change this to a NOTREACHED()?
4 years, 3 months ago (2016-09-01 05:38:55 UTC) #6
Peter Kasting
This is a super-bikeshed so please do not block on me. I happened to notice ...
4 years, 3 months ago (2016-09-01 07:26:01 UTC) #7
riajiang
https://codereview.chromium.org/2301593002/diff/1/ui/events/event.cc File ui/events/event.cc (right): https://codereview.chromium.org/2301593002/diff/1/ui/events/event.cc#newcode501 ui/events/event.cc:501: SetType(ET_MOUSEWHEEL); On 2016/09/01 05:38:54, sadrul wrote: > Can you ...
4 years, 3 months ago (2016-09-01 15:29:21 UTC) #8
sadrul
lgtm
4 years, 3 months ago (2016-09-01 19:54:24 UTC) #9
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/2301593002/40001
4 years, 3 months ago (2016-09-01 21:46:04 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-09-01 21:51:33 UTC) #18
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 21:55:30 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec96963b90a87eb8e30dd9e8b74f5951eeda14f2
Cr-Commit-Position: refs/heads/master@{#416072}

Powered by Google App Engine
This is Rietveld 408576698