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

Issue 199253002: Made PinchViewport a ScrollableArea (Closed)

Created:
6 years, 9 months ago by bokan
Modified:
6 years, 9 months ago
CC:
blink-reviews, enne (OOO)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Made PinchViewport a ScrollableArea. Implemented ScrollableArea on PinchViewport and hooked it up to all the layer scrolling mechanisms. This removes the need for DistributeScrollOffsetToViewports on the layer tree. Also did a little cleanup with member names and namespacing. This is a 2-sided patch, the other CL: https://codereview.chromium.org/210543002 BUG=349941 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170110

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -50 lines) Patch
M Source/core/frame/PinchViewport.h View 1 2 3 2 chunks +43 lines, -15 lines 0 comments Download
M Source/core/frame/PinchViewport.cpp View 1 2 3 4 5 8 chunks +117 lines, -17 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 1 chunk +4 lines, -2 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/scroll/ScrollView.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/platform/scroll/ScrollView.cpp View 1 2 3 1 chunk +0 lines, -9 lines 0 comments Download
M Source/platform/scroll/ScrollableArea.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M Source/platform/scroll/ScrollableArea.cpp View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M Source/web/WebViewImpl.cpp View 1 5 chunks +15 lines, -4 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
bokan
PTAL.
6 years, 9 months ago (2014-03-13 16:11:04 UTC) #1
aelias_OOO_until_Jul13
Hmm, I'm not sure I like this. There's some impedance mismatches between ScrollableArea and what ...
6 years, 9 months ago (2014-03-14 06:44:11 UTC) #2
bokan
On 2014/03/14 06:44:11, aelias wrote: > Hmm, I'm not sure I like this. There's some ...
6 years, 9 months ago (2014-03-14 15:02:42 UTC) #3
aelias_OOO_until_Jul13
OK, I can buy that. Instead of reviewing/landing this first, could you bake your followup ...
6 years, 9 months ago (2014-03-14 19:56:41 UTC) #4
bokan
On 2014/03/14 19:56:41, aelias wrote: > OK, I can buy that. Instead of reviewing/landing this ...
6 years, 9 months ago (2014-03-14 20:26:01 UTC) #5
bokan
https://codereview.chromium.org/199253002/diff/1/Source/core/frame/PinchViewport.h File Source/core/frame/PinchViewport.h (right): https://codereview.chromium.org/199253002/diff/1/Source/core/frame/PinchViewport.h#newcode75 Source/core/frame/PinchViewport.h:75: // TODO: Ensure pinch works properly with non-TB-RL writing ...
6 years, 9 months ago (2014-03-14 20:26:13 UTC) #6
bokan
Alexandre, PTAL. This patch hooks up the GraphicsLayer<->ScrollableArea hooks for the PinchViewport so that scroll ...
6 years, 9 months ago (2014-03-24 17:19:33 UTC) #7
aelias_OOO_until_Jul13
OK, this lgtm modulo minor comments below. Adding leviw@ for Source/core and Source/platform OWNERS. (However, ...
6 years, 9 months ago (2014-03-24 21:47:23 UTC) #8
bokan
Can I add the followup patch(es) so that Reitveld knows they're dependent on this one ...
6 years, 9 months ago (2014-03-24 23:36:30 UTC) #9
aelias_OOO_until_Jul13
OK, looks like Rietveld doesn't have proper support for dependent patchsets, so feel free to ...
6 years, 9 months ago (2014-03-25 00:05:48 UTC) #10
aelias_OOO_until_Jul13
https://codereview.chromium.org/199253002/diff/40001/Source/core/frame/PinchViewport.cpp File Source/core/frame/PinchViewport.cpp (right): https://codereview.chromium.org/199253002/diff/40001/Source/core/frame/PinchViewport.cpp#newcode307 Source/core/frame/PinchViewport.cpp:307: // TODO: This should be ScrollableArea's default implementation. On ...
6 years, 9 months ago (2014-03-25 00:07:01 UTC) #11
bokan
https://codereview.chromium.org/199253002/diff/40001/Source/core/frame/PinchViewport.cpp File Source/core/frame/PinchViewport.cpp (right): https://codereview.chromium.org/199253002/diff/40001/Source/core/frame/PinchViewport.cpp#newcode307 Source/core/frame/PinchViewport.cpp:307: // TODO: This should be ScrollableArea's default implementation. On ...
6 years, 9 months ago (2014-03-25 00:54:42 UTC) #12
aelias_OOO_until_Jul13
https://codereview.chromium.org/199253002/diff/40001/Source/platform/graphics/GraphicsLayer.cpp File Source/platform/graphics/GraphicsLayer.cpp (right): https://codereview.chromium.org/199253002/diff/40001/Source/platform/graphics/GraphicsLayer.cpp#newcode1185 Source/platform/graphics/GraphicsLayer.cpp:1185: // TODO(bokan): With pinch virtual viewport the special case ...
6 years, 9 months ago (2014-03-25 01:08:59 UTC) #13
leviw_travelin_and_unemployed
It's odd to me that pinch viewport is becoming a ScrollableArea, but I appreciate the ...
6 years, 9 months ago (2014-03-26 16:44:38 UTC) #14
bokan
IMO it makes sense conceptually too, if you think about ScrollableAreas as objects that host ...
6 years, 9 months ago (2014-03-26 19:56:44 UTC) #15
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 9 months ago (2014-03-26 22:10:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/199253002/100001
6 years, 9 months ago (2014-03-26 22:10:57 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 22:46:10 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on linux_blink_rel
6 years, 9 months ago (2014-03-26 22:46:10 UTC) #19
bokan
The CQ bit was checked by bokan@chromium.org
6 years, 9 months ago (2014-03-26 23:26:24 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bokan@chromium.org/199253002/100001
6 years, 9 months ago (2014-03-26 23:26:33 UTC) #21
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 23:57:38 UTC) #22
Message was sent while issue was closed.
Change committed as 170110

Powered by Google App Engine
This is Rietveld 408576698