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

Issue 2576013002: Introducing WebCoalescedInputEvent and inclusion in content/common (Closed)

Created:
4 years ago by Navid Zolghadr
Modified:
3 years, 11 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, darin-cc_chromium.org, dcheng, dglazkov+blink, dtapuska+chromiumwatch_chromium.org, jam, kinuko+watch, mlamouri+watch-blink_chromium.org, mlamouri+watch-content_chromium.org, tdresser+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introducing WebCoalescedInputEvent and inclusion in content/common BUG=656781 TBR=kmarshall@chromium.org Review-Url: https://codereview.chromium.org/2576013002 Cr-Commit-Position: refs/heads/master@{#442360} Committed: https://chromium.googlesource.com/chromium/src/+/c53850d9abcf33808e245fc4f17145ca5822081d

Patch Set 1 #

Total comments: 8

Patch Set 2 : Do the rest of the plumbing to make stuff compilable #

Patch Set 3 : Rebase #

Patch Set 4 : Fix a compile error in a test #

Patch Set 5 : Fix a compiler error on Android #

Patch Set 6 : Add back WebInputEvent Deps #

Patch Set 7 : Change deletion mechanism #

Patch Set 8 : Fix a few DCHECK hits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+303 lines, -197 lines) Patch
M blimp/client/core/input/blimp_input_handler_wrapper.h View 1 1 chunk +1 line, -1 line 0 comments Download
M blimp/client/core/input/blimp_input_handler_wrapper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/devtools/protocol/input_handler.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/common/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/common/input/event_with_latency_info.h View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M content/common/input/event_with_latency_info.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/common/input/input_event.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/input/input_param_traits.h View 1 1 chunk +3 lines, -3 lines 0 comments Download
M content/common/input/input_param_traits.cc View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M content/common/input/web_touch_event_traits.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/input/input_event_filter.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/input/input_event_filter.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/input/input_event_filter_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/input/input_handler_manager.h View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/input/input_handler_manager.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/input/input_handler_manager_client.h View 1 2 chunks +2 lines, -3 lines 0 comments Download
M content/renderer/input/input_handler_wrapper.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/input/input_handler_wrapper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/input/main_thread_event_queue.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/input/main_thread_event_queue.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/input/main_thread_event_queue_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/mus/compositor_mus_connection.h View 1 3 chunks +3 lines, -4 lines 0 comments Download
M content/renderer/mus/compositor_mus_connection.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/mus/compositor_mus_connection_unittest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M content/renderer/mus/render_widget_mus_connection.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/mus/render_widget_mus_connection.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/PointerEventFactory.cpp View 1 2 3 4 5 6 7 4 chunks +30 lines, -30 lines 1 comment Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/exported/WebCoalescedInputEvent.cpp View 1 2 3 4 5 6 7 1 chunk +123 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.h View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/PageWidgetDelegate.cpp View 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/public/platform/WebCoalescedInputEvent.h View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
M ui/events/blink/BUILD.gn View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M ui/events/blink/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/blink/event_with_callback.h View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M ui/events/blink/event_with_callback.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M ui/events/blink/input_handler_proxy.h View 1 2 2 chunks +3 lines, -4 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M ui/events/blink/input_handler_proxy_client.h View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ui/events/blink/input_handler_proxy_unittest.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
D ui/events/blink/scoped_web_input_event.h View 1 chunk +0 lines, -26 lines 0 comments Download
D ui/events/blink/scoped_web_input_event.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M ui/events/blink/web_input_event_traits.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M ui/events/blink/web_input_event_traits.cc View 1 2 3 4 5 6 2 chunks +5 lines, -22 lines 0 comments Download

Messages

Total messages: 49 (36 generated)
Navid Zolghadr
ptal. This is a smaller version of adding WebCoalescedInputEvent. Note that it is not all ...
4 years ago (2016-12-14 21:21:48 UTC) #2
dglazkov
Approach LGTM. https://codereview.chromium.org/2576013002/diff/1/third_party/WebKit/public/platform/WebCoalescedInputEvent.h File third_party/WebKit/public/platform/WebCoalescedInputEvent.h (right): https://codereview.chromium.org/2576013002/diff/1/third_party/WebKit/public/platform/WebCoalescedInputEvent.h#newcode2 third_party/WebKit/public/platform/WebCoalescedInputEvent.h:2: * Copyright (C) 2009 Google Inc. All ...
4 years ago (2016-12-15 16:01:54 UTC) #3
Navid Zolghadr
So is it okay that I move forward with adding the rest of the plumbing? ...
4 years ago (2016-12-16 15:38:09 UTC) #4
esprehn
lgtm
4 years ago (2016-12-20 20:44:50 UTC) #5
esprehn
Please use the short copyright. https://codereview.chromium.org/2576013002/diff/1/third_party/WebKit/Source/web/WebCoalescedInputEvent.cpp File third_party/WebKit/Source/web/WebCoalescedInputEvent.cpp (right): https://codereview.chromium.org/2576013002/diff/1/third_party/WebKit/Source/web/WebCoalescedInputEvent.cpp#newcode2 third_party/WebKit/Source/web/WebCoalescedInputEvent.cpp:2: * Copyright (C) 2009 ...
4 years ago (2016-12-20 20:46:18 UTC) #6
Navid Zolghadr
ptal. Please note that I had to add WebCoalescedInputEvent to blink_common target which is the ...
4 years ago (2016-12-22 20:50:34 UTC) #7
dtapuska
On 2016/12/22 20:50:34, Navid Zolghadr wrote: > ptal. > > Please note that I had ...
3 years, 11 months ago (2017-01-03 19:36:50 UTC) #12
Navid Zolghadr
kmarshall@chromium.org: Please review changes in blimp/* dcheng@chromium.org: Please review changes in content/common/input/* avi@chromium.org: Please review ...
3 years, 11 months ago (2017-01-09 19:54:10 UTC) #38
dcheng
ipc changes in content/common/input lgtm
3 years, 11 months ago (2017-01-09 20:36:17 UTC) #39
Avi (use Gerrit)
> mailto:avi@chromium.org: Please review changes in > content/browser/devtools/protocol/input_handler.cc > content/common/DEPS Those files LGTM
3 years, 11 months ago (2017-01-09 20:39:39 UTC) #40
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/2576013002/140001
3 years, 11 months ago (2017-01-09 21:34:15 UTC) #44
commit-bot: I haz the power
Committed patchset #8 (id:140001) as https://chromium.googlesource.com/chromium/src/+/c53850d9abcf33808e245fc4f17145ca5822081d
3 years, 11 months ago (2017-01-09 21:42:44 UTC) #47
foolip
3 years, 11 months ago (2017-01-24 04:56:27 UTC) #49
Message was sent while issue was closed.
https://codereview.chromium.org/2576013002/diff/140001/third_party/WebKit/Sou...
File third_party/WebKit/Source/core/events/PointerEventFactory.cpp (right):

https://codereview.chromium.org/2576013002/diff/140001/third_party/WebKit/Sou...
third_party/WebKit/Source/core/events/PointerEventFactory.cpp:266:
DCHECK_EQ(mouseEvent.pointerProperties().pointerType,
Filed https://bugs.chromium.org/p/chromium/issues/detail?id=684292 for this
DCHECK_EQ failing on Mac.

Powered by Google App Engine
This is Rietveld 408576698