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

Issue 2856153003: Pass TouchAction bits together with rect in SetTouchEventHandlerRegion (Closed)

Created:
3 years, 7 months ago by xidachen
Modified:
3 years, 7 months ago
Reviewers:
chrishtr, pdr., wkorman
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, cc-bugs_chromium.org, chromium-reviews, dglazkov+blink, kenneth.christiansen, sunxd
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Pass TouchAction bits together with rect in SetTouchEventHandlerRegion At this moment, the WebLayer::SetTouchEventHandlerRegion only passes a vector of rects to CC. We would like to pass touch action bits corresponding to each rect so for optimization purposes. In this CL, I only changed the API SetTouchEventHandlerRegion, so that both blink and cc sides can work in parallel. This CL has no behavior change. BUG=716668 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2856153003 Cr-Commit-Position: refs/heads/master@{#471943} Committed: https://chromium.googlesource.com/chromium/src/+/28dd0bab32d0c43cba71995b99e2255d36e42b7e

Patch Set 1 #

Total comments: 14

Patch Set 2 : address comments #

Patch Set 3 : done #

Patch Set 4 : change comments #

Total comments: 1

Patch Set 5 : rebase + comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -9 lines) Patch
M cc/blink/web_layer_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 1 chunk +7 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 chunks +2 lines, -1 line 0 comments Download
A third_party/WebKit/public/platform/WebTouchInfo.h View 1 2 1 chunk +20 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
xidachen
PTAL. Note: the name "WebTouchActionRect" is up to debate.
3 years, 7 months ago (2017-05-03 19:07:06 UTC) #3
wkorman
https://codereview.chromium.org/2856153003/diff/1/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (right): https://codereview.chromium.org/2856153003/diff/1/cc/blink/web_layer_impl.cc#newcode303 cc/blink/web_layer_impl.cc:303: const WebVector<blink::WebTouchActionRect>& touch_action_rect) { I am hoping that as ...
3 years, 7 months ago (2017-05-03 20:02:14 UTC) #4
xidachen
https://codereview.chromium.org/2856153003/diff/1/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (right): https://codereview.chromium.org/2856153003/diff/1/cc/blink/web_layer_impl.cc#newcode303 cc/blink/web_layer_impl.cc:303: const WebVector<blink::WebTouchActionRect>& touch_action_rect) { On 2017/05/03 20:02:14, wkorman wrote: ...
3 years, 7 months ago (2017-05-04 12:11:21 UTC) #5
wkorman
Discussed offline, xida is pursuing work in http://crbug.com/718525 as next step, hopefully we can unify ...
3 years, 7 months ago (2017-05-04 18:45:12 UTC) #6
xidachen
PS#4 is now ready, PTAL.
3 years, 7 months ago (2017-05-12 14:41:25 UTC) #7
wkorman
lgtm https://codereview.chromium.org/2856153003/diff/60001/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (left): https://codereview.chromium.org/2856153003/diff/60001/cc/blink/web_layer_impl.cc#oldcode307 cc/blink/web_layer_impl.cc:307: } Is this where we'll want to do ...
3 years, 7 months ago (2017-05-12 22:11:14 UTC) #8
pdr.
LGTM
3 years, 7 months ago (2017-05-13 02:39:33 UTC) #9
xidachen
+chrishtr@: cc/blink/ PTAL. Thanks.
3 years, 7 months ago (2017-05-13 13:14:22 UTC) #11
chrishtr
lgtm
3 years, 7 months ago (2017-05-15 18:03:30 UTC) #13
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/2856153003/80001
3 years, 7 months ago (2017-05-15 18:04:30 UTC) #15
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/444756)
3 years, 7 months ago (2017-05-15 18:48:39 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/2856153003/80001
3 years, 7 months ago (2017-05-15 20:32:35 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-15 23:35:34 UTC) #22
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/28dd0bab32d0c43cba71995b99e2...

Powered by Google App Engine
This is Rietveld 408576698