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

Issue 2663493003: Move the TouchEventQueue to be completely virtual. (Closed)

Created:
3 years, 10 months ago by dtapuska
Modified:
3 years, 10 months ago
Reviewers:
Charlie Reis, tdresser
CC:
chromium-reviews, jam, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move the TouchEventQueue to be completely virtual. We need to provide a new implementation of the TouchEventQueue and the easiest is to rewrite it according to the external interface. So make the interface completely virtual to support two implementations for now. Move the old implementation to LegacyTouchEventQueue. BUG=642368 TBR=creis@chromium.org Review-Url: https://codereview.chromium.org/2663493003 Cr-Commit-Position: refs/heads/master@{#446701} Committed: https://chromium.googlesource.com/chromium/src/+/73607ca60d8d03e9ac7397da44a9744d64e444b8

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+137 lines, -1249 lines) Patch
M content/browser/BUILD.gn View 1 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 10 chunks +13 lines, -12 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A + content/browser/renderer_host/input/legacy_touch_event_queue.h View 1 5 chunks +25 lines, -59 lines 0 comments Download
A + content/browser/renderer_host/input/legacy_touch_event_queue.cc View 1 28 chunks +68 lines, -75 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.h View 1 3 chunks +23 lines, -152 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 1 chunk +0 lines, -945 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (12 generated)
dtapuska
3 years, 10 months ago (2017-01-27 14:44:06 UTC) #2
tdresser
https://codereview.chromium.org/2663493003/diff/1/content/browser/renderer_host/input/legacy_touch_event_queue.cc File content/browser/renderer_host/input/legacy_touch_event_queue.cc (right): https://codereview.chromium.org/2663493003/diff/1/content/browser/renderer_host/input/legacy_touch_event_queue.cc#newcode284 content/browser/renderer_host/input/legacy_touch_event_queue.cc:284: class LegacyTouchEventQueue::TouchMoveSlopSuppressor { We'll need to pull this out ...
3 years, 10 months ago (2017-01-27 15:11:57 UTC) #5
dtapuska
PTAL https://codereview.chromium.org/2663493003/diff/1/content/browser/renderer_host/input/legacy_touch_event_queue.cc File content/browser/renderer_host/input/legacy_touch_event_queue.cc (right): https://codereview.chromium.org/2663493003/diff/1/content/browser/renderer_host/input/legacy_touch_event_queue.cc#newcode284 content/browser/renderer_host/input/legacy_touch_event_queue.cc:284: class LegacyTouchEventQueue::TouchMoveSlopSuppressor { On 2017/01/27 15:11:56, tdresser wrote: ...
3 years, 10 months ago (2017-01-27 15:57:39 UTC) #8
tdresser
LGTM, thanks.
3 years, 10 months ago (2017-01-27 16:07:05 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/2663493003/20001
3 years, 10 months ago (2017-01-27 16:09:10 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/352095)
3 years, 10 months ago (2017-01-27 16:16:50 UTC) #13
dtapuska
creis@ I'll TBR you. It is silly that we use to be able to modify ...
3 years, 10 months ago (2017-01-27 16:19:34 UTC) #15
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/2663493003/20001
3 years, 10 months ago (2017-01-27 16:30:22 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/73607ca60d8d03e9ac7397da44a9744d64e444b8
3 years, 10 months ago (2017-01-27 17:22:04 UTC) #21
Charlie Reis
3 years, 10 months ago (2017-01-27 21:19:04 UTC) #22
Message was sent while issue was closed.
BUILD.gn LGTM

Powered by Google App Engine
This is Rietveld 408576698