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

Issue 138453004: Pinch/Zoom Infrastructure & Plumbing CL (Prequel) (Closed)

Created:
6 years, 11 months ago by wjmaclean
Modified:
6 years, 11 months ago
CC:
blink-reviews, kenneth.christiansen, krit, jamesr, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, leviw+renderwatch, jbroman, blink-layers+watch_chromium.org, abarth-chromium, dglazkov+blink, Rik, jchaffraix+rendering, Stephen Chennney, danakj, pdr., rwlbuis
Visibility:
Public.

Description

Pinch/Zoom Infrastructure & Plumbing CL (Prequel) This CL supplies the necessary changes to Blink to support the inner/outer viewport model for pinch-zoom and fixed- position elements. The specification for these changes is contained in the document "Layer-based Solution for Pinch Zoom / Fixed Position". Specifically, it provides the Blink-side infrastructure to move scroll layers & scrollbars to using a clip-layer to specify the max scroll offset and scrolbar positioning, as opposed to pushing a max_scroll_offset from Blink. This entails a number of changes to the Web* interface classes. This CL supports the CC-side cl https://codereview.chromium.org/23983047/, and must land before that CL. This code has previous review history at https://codereview.chromium.org/24302010/. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=165122

Patch Set 1 : Initial plumbing for Blink side of PZ Infrastructure. #

Total comments: 5

Patch Set 2 : Use setContentsRect() instead of directly accessing contentLayer bounds. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -9 lines) Patch
M Source/core/page/scrolling/ScrollingCoordinator.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/page/scrolling/ScrollingCoordinator.cpp View 6 chunks +21 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderLayerCompositor.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/web/PinchViewports.cpp View 1 5 chunks +21 lines, -4 lines 0 comments Download
M Source/web/tests/GraphicsLayerTest.cpp View 2 chunks +8 lines, -1 line 0 comments Download
M public/platform/WebLayer.h View 1 chunk +5 lines, -0 lines 0 comments Download
M public/platform/WebScrollbarLayer.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
wjmaclean
This code is the subset of the CL https://codereview.chromium.org/24302010/ (see previous review history on that ...
6 years, 11 months ago (2014-01-14 19:40:19 UTC) #1
enne (OOO)
I get chunk mismatches when trying to look at diffs. Can you reupload? Can you ...
6 years, 11 months ago (2014-01-14 20:05:29 UTC) #2
wjmaclean
On 2014/01/14 20:05:29, enne wrote: > I get chunk mismatches when trying to look at ...
6 years, 11 months ago (2014-01-14 20:39:09 UTC) #3
enne (OOO)
lgtm, thanks.
6 years, 11 months ago (2014-01-14 22:43:46 UTC) #4
enne (OOO)
https://codereview.chromium.org/138453004/diff/260002/Source/platform/graphics/GraphicsLayer.h File Source/platform/graphics/GraphicsLayer.h (right): https://codereview.chromium.org/138453004/diff/260002/Source/platform/graphics/GraphicsLayer.h#newcode305 Source/platform/graphics/GraphicsLayer.h:305: // Exposed for use in PinchViewports.cpp. comment nit: I ...
6 years, 11 months ago (2014-01-14 22:43:55 UTC) #5
jamesr
https://codereview.chromium.org/138453004/diff/260002/Source/platform/graphics/GraphicsLayer.h File Source/platform/graphics/GraphicsLayer.h (right): https://codereview.chromium.org/138453004/diff/260002/Source/platform/graphics/GraphicsLayer.h#newcode305 Source/platform/graphics/GraphicsLayer.h:305: // Exposed for use in PinchViewports.cpp. On 2014/01/14 22:43:55, ...
6 years, 11 months ago (2014-01-14 22:48:58 UTC) #6
wjmaclean
Revised - thanks! https://codereview.chromium.org/138453004/diff/260002/Source/platform/graphics/GraphicsLayer.h File Source/platform/graphics/GraphicsLayer.h (right): https://codereview.chromium.org/138453004/diff/260002/Source/platform/graphics/GraphicsLayer.h#newcode305 Source/platform/graphics/GraphicsLayer.h:305: // Exposed for use in PinchViewports.cpp. ...
6 years, 11 months ago (2014-01-14 23:55:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wjmaclean@chromium.org/138453004/340001
6 years, 11 months ago (2014-01-15 00:02:49 UTC) #8
jamesr
lgtm
6 years, 11 months ago (2014-01-15 00:05:39 UTC) #9
commit-bot: I haz the power
6 years, 11 months ago (2014-01-15 13:56:23 UTC) #10
Message was sent while issue was closed.
Change committed as 165122

Powered by Google App Engine
This is Rietveld 408576698