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

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed)

Created:
4 years, 11 months ago by dtapuska
Modified:
4 years, 10 months ago
CC:
apavlov+blink_chromium.org, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, caseq+blink_chromium.org, cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, jam, kenneth.christiansen, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, pfeldman+blink_chromium.org, piman+watch_chromium.org, sergeyv+blink_chromium.org, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move have_wheel_event_handlers to WebLayerTreeView. Since having wheel event handlers was based on the document in general there was no need for the hit testing code for determining the layer in cc. So it makes more sense to have these fields on the layer tree view. BUG=489802 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/ee0b6981de62e9a234d031eab793da8d7752197b Cr-Commit-Position: refs/heads/master@{#372346}

Patch Set 1 #

Patch Set 2 : Upload corrected CL #

Patch Set 3 : Fix tests #

Total comments: 8

Patch Set 4 : Address comments on patch set 3 #

Patch Set 5 : Rename input handler to touch handler #

Patch Set 6 : Fix failing layout test #

Patch Set 7 : Rebase (resolve scroll blocks removal) conflicts #

Total comments: 1

Patch Set 8 : Remove blank line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -172 lines) Patch
M cc/blink/web_layer_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -2 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -8 lines 0 comments Download
M cc/debug/debug_rect_history.cc View 2 chunks +2 lines, -1 line 0 comments Download
M cc/input/input_handler.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 6 2 chunks +0 lines, -4 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 5 chunks +0 lines, -13 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 4 chunks +8 lines, -14 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 6 chunks +2 lines, -13 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 5 6 7 4 chunks +0 lines, -5 lines 0 comments Download
M cc/proto/layer.proto View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M cc/proto/layer_tree_host.proto View 1 chunk +1 line, -0 lines 0 comments Download
M cc/test/layer_tree_json_parser.cc View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M cc/test/layer_tree_json_parser_unittest.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 2 chunks +5 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 5 chunks +12 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common.cc View 1 2 3 4 4 chunks +12 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 2 chunks +6 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -10 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 3 chunks +7 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 chunks +3 lines, -24 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.cc View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp View 1 2 3 4 5 6 chunks +13 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 5 6 2 chunks +0 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/ScrollingCoordinatorTest.cpp View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayerTreeView.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/blink/input_handler_proxy.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ui/events/blink/input_handler_proxy_unittest.cc View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
dtapuska
PTAL
4 years, 11 months ago (2016-01-27 16:57:37 UTC) #4
aelias_OOO_until_Jul13
OK, looks pretty good. The only awkward part of this that I didn't realize is ...
4 years, 11 months ago (2016-01-27 23:55:46 UTC) #5
Rick Byers
I can't help but feel like this is a step backwards - we do really ...
4 years, 11 months ago (2016-01-28 00:18:32 UTC) #6
dtapuska
PTAL https://codereview.chromium.org/1639363002/diff/40001/cc/blink/web_layer_impl.cc File cc/blink/web_layer_impl.cc (right): https://codereview.chromium.org/1639363002/diff/40001/cc/blink/web_layer_impl.cc#newcode330 cc/blink/web_layer_impl.cc:330: bool WebLayerImpl::haveWheelEventHandlers() const { On 2016/01/27 23:55:46, aelias ...
4 years, 10 months ago (2016-01-28 16:23:06 UTC) #7
aelias_OOO_until_Jul13
lgtm, thanks!
4 years, 10 months ago (2016-01-28 21:16:45 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639363002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639363002/120001
4 years, 10 months ago (2016-01-28 21:55:20 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/140232)
4 years, 10 months ago (2016-01-28 22:08:51 UTC) #13
dtapuska
+creis for content/*
4 years, 10 months ago (2016-01-28 22:11:36 UTC) #15
Charlie Reis
Rubber stamp LGTM for content/, since I don't know this code very well. https://codereview.chromium.org/1639363002/diff/120001/content/test/web_layer_tree_view_impl_for_testing.h File ...
4 years, 10 months ago (2016-01-28 23:44:01 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1639363002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1639363002/140001
4 years, 10 months ago (2016-01-29 14:03:43 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 10 months ago (2016-01-29 15:14:57 UTC) #21
commit-bot: I haz the power
4 years, 10 months ago (2016-01-29 15:15:43 UTC) #23
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ee0b6981de62e9a234d031eab793da8d7752197b
Cr-Commit-Position: refs/heads/master@{#372346}

Powered by Google App Engine
This is Rietveld 408576698