Summary: | Move more code from ScrollingStateOverflowScrollingNodeIOS to ScrollingTreeScrollingNodeDelegate | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Frédéric Wang (:fredw) <fred.wang> | ||||||||||||||||||||
Component: | Frames | Assignee: | Frédéric Wang (:fredw) <fred.wang> | ||||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||||
Severity: | Normal | CC: | buildbot, cmarcelo, commit-queue, fred.wang, jamesr, luiz, simon.fraser, tonikitoo, webkit-bug-importer | ||||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||
Bug Depends on: | 174097, 174134 | ||||||||||||||||||||||
Bug Blocks: | 149264, 173833 | ||||||||||||||||||||||
Attachments: |
|
Description
Frédéric Wang (:fredw)
2017-07-04 07:59:52 PDT
Created attachment 314572 [details]
174134+174097+174130.patch
Created attachment 314574 [details]
Patch
This patch applies on top of bugs 174134 and 174097.
Created attachment 316539 [details] Patch Rebasing... This patch still applies after bug 174097. Created attachment 317241 [details]
Patch
Rebasing...
Created attachment 319856 [details]
Patch
Created attachment 319891 [details]
Patch
Created attachment 320011 [details]
Patch
Comment on attachment 320011 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320011&action=review > Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h:63 > + void commitStateBeforeChildren(const WebCore::ScrollingStateScrollingNode& scrollingStateNode); > + void commitStateAfterChildren(const WebCore::ScrollingStateScrollingNode& scrollingStateNode); No need to name scrollingStateNode. > Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h:66 > + void setScrollLayerPosition(const WebCore::FloatPoint& scrollPosition); No need to name scrollPosition > Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h:73 > bool m_updatingFromStateNode; { false } > Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm:177 > + m_scrollViewDelegate = adoptNS([[WKScrollingNodeScrollViewDelegate alloc] initWithScrollingTreeNodeDelegate:this]); I wonder if this class could also be the WKScrollingNodeScrollViewDelegate, but that could be done later. Created attachment 320162 [details]
Patch for landing
Comment on attachment 320162 [details] Patch for landing Clearing flags on attachment: 320162 Committed r221753: <http://trac.webkit.org/changeset/221753> All reviewed patches have been landed. Closing bug. Comment on attachment 320011 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=320011&action=review >> Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm:177 >> + m_scrollViewDelegate = adoptNS([[WKScrollingNodeScrollViewDelegate alloc] initWithScrollingTreeNodeDelegate:this]); > > I wonder if this class could also be the WKScrollingNodeScrollViewDelegate, but that could be done later. I'm not sure I understand this comment. WKScrollingNodeScrollViewDelegate is an objective-C object while ScrollingTreeScrollingNodeDelegateIOS is a C++, and I don't know how we can "merge" the two together? Oh right, never mind :) |