Changeset 286725 in webkit
- Timestamp:
- Dec 8, 2021, 1:26:07 PM (5 years ago)
- Location:
- branches/safari-612.4.2.1-branch/Source
- Files:
-
- 16 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/Scripts/Preferences/WebPreferencesInternal.yaml (modified) (1 diff)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/page/scrolling/AsyncScrollingCoordinator.cpp (modified) (1 diff)
-
WebCore/page/scrolling/ScrollingStateFrameScrollingNode.cpp (modified) (3 diffs)
-
WebCore/page/scrolling/ScrollingStateFrameScrollingNode.h (modified) (2 diffs)
-
WebCore/page/scrolling/ScrollingStateNode.h (modified) (1 diff)
-
WebCore/page/scrolling/ScrollingTree.cpp (modified) (3 diffs)
-
WebCore/page/scrolling/ScrollingTree.h (modified) (2 diffs)
-
WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp (modified) (1 diff)
-
WebCore/page/scrolling/ScrollingTreeScrollingNode.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h (modified) (1 diff)
-
WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm (modified) (1 diff)
-
WebCore/platform/ScrollController.h (modified) (1 diff)
-
WebKit/ChangeLog (modified) (1 diff)
-
WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/safari-612.4.2.1-branch/Source/WTF/ChangeLog
r286717 r286725 1 2021-12-03 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r285526. rdar://problem/85928816 4 5 Add runtime flag for momentum scrolling 6 https://bugs.webkit.org/show_bug.cgi?id=232898 7 <rdar://problem/85211338> 8 9 Reviewed by Simon Fraser. 10 11 * Scripts/Preferences/WebPreferencesInternal.yaml: 12 Add the preference. 13 14 * page/scrolling/AsyncScrollingCoordinator.cpp: 15 (WebCore::AsyncScrollingCoordinator::setFrameScrollingNodeState): 16 * page/scrolling/ScrollingStateFrameScrollingNode.cpp: 17 (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode): 18 (WebCore::ScrollingStateFrameScrollingNode::applicableProperties const): 19 (WebCore::ScrollingStateFrameScrollingNode::setMomentumScrollingAnimatorEnabled): 20 * page/scrolling/ScrollingStateFrameScrollingNode.h: 21 * page/scrolling/ScrollingStateNode.h: 22 * page/scrolling/ScrollingTree.cpp: 23 (WebCore::ScrollingTree::commitTreeState): 24 * page/scrolling/ScrollingTree.h: 25 (WebCore::ScrollingTree::momentumScrollingAnimatorEnabled const): 26 (WebCore::ScrollingTree::setMomentumScrollingAnimatorEnabled): 27 * page/scrolling/ScrollingTreeScrollingNode.cpp: 28 (WebCore::ScrollingTreeScrollingNode::momentumScrollingAnimatorEnabled const): 29 * page/scrolling/ScrollingTreeScrollingNode.h: 30 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h: 31 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm: 32 (WebCore::ScrollingTreeScrollingNodeDelegateMac::momentumScrollingAnimatorEnabled const): 33 * platform/ScrollingEffectsController.h: 34 (WebCore::ScrollingEffectsControllerClient::momentumScrollingAnimatorEnabled const): 35 36 * Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp: 37 (ArgumentCoder<ScrollingStateFrameScrollingNode>::encode): 38 (ArgumentCoder<ScrollingStateFrameScrollingNode>::decode): 39 40 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285526 268f45cc-cd09-0410-ab3c-d52691b4dbfc 41 42 2021-11-09 Tim Horton <timothy_horton@apple.com> 43 44 Add runtime flag for momentum scrolling 45 https://bugs.webkit.org/show_bug.cgi?id=232898 46 <rdar://problem/85211338> 47 48 Reviewed by Simon Fraser. 49 50 * Scripts/Preferences/WebPreferencesInternal.yaml: 51 Add the preference. 52 1 53 2021-12-01 Alan Coon <alancoon@apple.com> 2 54 -
branches/safari-612.4.2.1-branch/Source/WTF/Scripts/Preferences/WebPreferencesInternal.yaml
r279355 r286725 537 537 default: false 538 538 539 MomentumScrollingAnimatorEnabled: 540 type: bool 541 humanReadableName: "Momentum Scrolling Animator" 542 humanReadableDescription: "Drive momentum scrolling via an internal animator instead of using momentum events" 543 defaultValue: 544 WebKitLegacy: 545 "PLATFORM(MAC)": true 546 default: false 547 WebKit: 548 "PLATFORM(MAC)": true 549 default: false 550 WebCore: 551 "PLATFORM(MAC)": true 552 default: false 553 539 554 MouseEventsSimulationEnabled: 540 555 type: bool -
branches/safari-612.4.2.1-branch/Source/WebCore/ChangeLog
r286723 r286725 1 2021-12-03 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r285526. rdar://problem/85928816 4 5 Add runtime flag for momentum scrolling 6 https://bugs.webkit.org/show_bug.cgi?id=232898 7 <rdar://problem/85211338> 8 9 Reviewed by Simon Fraser. 10 11 * Scripts/Preferences/WebPreferencesInternal.yaml: 12 Add the preference. 13 14 * page/scrolling/AsyncScrollingCoordinator.cpp: 15 (WebCore::AsyncScrollingCoordinator::setFrameScrollingNodeState): 16 * page/scrolling/ScrollingStateFrameScrollingNode.cpp: 17 (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode): 18 (WebCore::ScrollingStateFrameScrollingNode::applicableProperties const): 19 (WebCore::ScrollingStateFrameScrollingNode::setMomentumScrollingAnimatorEnabled): 20 * page/scrolling/ScrollingStateFrameScrollingNode.h: 21 * page/scrolling/ScrollingStateNode.h: 22 * page/scrolling/ScrollingTree.cpp: 23 (WebCore::ScrollingTree::commitTreeState): 24 * page/scrolling/ScrollingTree.h: 25 (WebCore::ScrollingTree::momentumScrollingAnimatorEnabled const): 26 (WebCore::ScrollingTree::setMomentumScrollingAnimatorEnabled): 27 * page/scrolling/ScrollingTreeScrollingNode.cpp: 28 (WebCore::ScrollingTreeScrollingNode::momentumScrollingAnimatorEnabled const): 29 * page/scrolling/ScrollingTreeScrollingNode.h: 30 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h: 31 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm: 32 (WebCore::ScrollingTreeScrollingNodeDelegateMac::momentumScrollingAnimatorEnabled const): 33 * platform/ScrollingEffectsController.h: 34 (WebCore::ScrollingEffectsControllerClient::momentumScrollingAnimatorEnabled const): 35 36 * Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp: 37 (ArgumentCoder<ScrollingStateFrameScrollingNode>::encode): 38 (ArgumentCoder<ScrollingStateFrameScrollingNode>::decode): 39 40 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285526 268f45cc-cd09-0410-ab3c-d52691b4dbfc 41 42 2021-11-09 Tim Horton <timothy_horton@apple.com> 43 44 Add runtime flag for momentum scrolling 45 https://bugs.webkit.org/show_bug.cgi?id=232898 46 <rdar://problem/85211338> 47 48 Reviewed by Simon Fraser. 49 50 * page/scrolling/AsyncScrollingCoordinator.cpp: 51 (WebCore::AsyncScrollingCoordinator::setFrameScrollingNodeState): 52 * page/scrolling/ScrollingStateFrameScrollingNode.cpp: 53 (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode): 54 (WebCore::ScrollingStateFrameScrollingNode::applicableProperties const): 55 (WebCore::ScrollingStateFrameScrollingNode::setMomentumScrollingAnimatorEnabled): 56 * page/scrolling/ScrollingStateFrameScrollingNode.h: 57 * page/scrolling/ScrollingStateNode.h: 58 * page/scrolling/ScrollingTree.cpp: 59 (WebCore::ScrollingTree::commitTreeState): 60 * page/scrolling/ScrollingTree.h: 61 (WebCore::ScrollingTree::momentumScrollingAnimatorEnabled const): 62 (WebCore::ScrollingTree::setMomentumScrollingAnimatorEnabled): 63 * page/scrolling/ScrollingTreeScrollingNode.cpp: 64 (WebCore::ScrollingTreeScrollingNode::momentumScrollingAnimatorEnabled const): 65 * page/scrolling/ScrollingTreeScrollingNode.h: 66 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h: 67 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm: 68 (WebCore::ScrollingTreeScrollingNodeDelegateMac::momentumScrollingAnimatorEnabled const): 69 * platform/ScrollingEffectsController.h: 70 (WebCore::ScrollingEffectsControllerClient::momentumScrollingAnimatorEnabled const): 71 1 72 2021-12-03 Russell Epstein <repstein@apple.com> 2 73 -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/AsyncScrollingCoordinator.cpp
r279218 r286725 652 652 frameScrollingNode.setScrollingPerformanceTestingEnabled(settings.scrollingPerformanceTestingEnabled()); 653 653 frameScrollingNode.setWheelEventGesturesBecomeNonBlocking(settings.wheelEventGesturesBecomeNonBlocking()); 654 frameScrollingNode.setMomentumScrollingAnimatorEnabled(settings.momentumScrollingAnimatorEnabled()); 654 655 655 656 frameScrollingNode.setMinLayoutViewportOrigin(frameView.minStableLayoutViewportOrigin()); -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingStateFrameScrollingNode.cpp
r278325 r286725 62 62 , m_wheelEventGesturesBecomeNonBlocking(stateNode.wheelEventGesturesBecomeNonBlocking()) 63 63 , m_scrollingPerformanceTestingEnabled(stateNode.scrollingPerformanceTestingEnabled()) 64 , m_momentumScrollingAnimatorEnabled(stateNode.momentumScrollingAnimatorEnabled()) 64 65 { 65 66 if (hasChangedProperty(Property::RootContentsLayer)) … … 113 114 Property::MaxLayoutViewportOrigin, 114 115 Property::OverrideVisualViewportSize, 116 Property::MomentumScrollingAnimatorEnabled, 115 117 }; 116 118 … … 308 310 m_scrollingPerformanceTestingEnabled = enabled; 309 311 setPropertyChanged(Property::ScrollingPerformanceTestingEnabled); 312 } 313 314 void ScrollingStateFrameScrollingNode::setMomentumScrollingAnimatorEnabled(bool enabled) 315 { 316 if (enabled == m_momentumScrollingAnimatorEnabled) 317 return; 318 319 m_momentumScrollingAnimatorEnabled = enabled; 320 setPropertyChanged(Property::MomentumScrollingAnimatorEnabled); 310 321 } 311 322 -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingStateFrameScrollingNode.h
r278253 r286725 118 118 WEBCORE_EXPORT void setWheelEventGesturesBecomeNonBlocking(bool); 119 119 120 bool momentumScrollingAnimatorEnabled() const { return m_momentumScrollingAnimatorEnabled; } 121 WEBCORE_EXPORT void setMomentumScrollingAnimatorEnabled(bool); 122 120 123 void dumpProperties(WTF::TextStream&, ScrollingStateTreeAsTextBehavior) const override; 121 124 … … 150 153 bool m_wheelEventGesturesBecomeNonBlocking { false }; 151 154 bool m_scrollingPerformanceTestingEnabled { false }; 155 bool m_momentumScrollingAnimatorEnabled { false }; 152 156 }; 153 157 -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingStateNode.h
r271937 r286725 256 256 VisualViewportIsSmallerThanLayoutViewport = 1LLU << 32, 257 257 AsyncFrameOrOverflowScrollingEnabled = 1LLU << 33, 258 WheelEventGesturesBecomeNonBlocking = 1LLU << 34, 259 ScrollingPerformanceTestingEnabled = 1LLU << 35, 260 LayoutViewport = 1LLU << 36, 261 MinLayoutViewportOrigin = 1LLU << 37, 262 MaxLayoutViewportOrigin = 1LLU << 38, 263 OverrideVisualViewportSize = 1LLU << 39, 258 MomentumScrollingAnimatorEnabled = 1LLU << 34, 259 WheelEventGesturesBecomeNonBlocking = 1LLU << 35, 260 ScrollingPerformanceTestingEnabled = 1LLU << 36, 261 LayoutViewport = 1LLU << 37, 262 MinLayoutViewportOrigin = 1LLU << 38, 263 MaxLayoutViewportOrigin = 1LLU << 39, 264 OverrideVisualViewportSize = 1LLU << 40, 264 265 // ScrollingStatePositionedNode 265 RelatedOverflowScrollingNodes = 1LLU << 4 0,266 LayoutConstraintData = 1LLU << 4 1,266 RelatedOverflowScrollingNodes = 1LLU << 41, 267 LayoutConstraintData = 1LLU << 42, 267 268 // ScrollingStateFixedNode, ScrollingStateStickyNode 268 ViewportConstraints = 1LLU << 4 2,269 ViewportConstraints = 1LLU << 43, 269 270 // ScrollingStateOverflowScrollProxyNode 270 OverflowScrollingNode = 1LLU << 4 3,271 OverflowScrollingNode = 1LLU << 44, 271 272 }; 272 273 -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingTree.cpp
r286719 r286725 280 280 || rootNode->hasChangedProperty(ScrollingStateNode::Property::WheelEventGesturesBecomeNonBlocking) 281 281 || rootNode->hasChangedProperty(ScrollingStateNode::Property::ScrollingPerformanceTestingEnabled) 282 || rootNode->hasChangedProperty(ScrollingStateNode::Property::IsMonitoringWheelEvents))) { 282 || rootNode->hasChangedProperty(ScrollingStateNode::Property::IsMonitoringWheelEvents) 283 || rootNode->hasChangedProperty(ScrollingStateNode::Property::MomentumScrollingAnimatorEnabled))) { 283 284 Locker locker { m_treeStateLock }; 284 285 … … 300 301 if (rootStateNodeChanged || rootNode->hasChangedProperty(ScrollingStateNode::Property::IsMonitoringWheelEvents)) 301 302 m_isMonitoringWheelEvents = scrollingStateTree->rootStateNode()->isMonitoringWheelEvents(); 303 304 if (rootStateNodeChanged || rootNode->hasChangedProperty(ScrollingStateNode::Property::MomentumScrollingAnimatorEnabled)) 305 m_momentumScrollingAnimatorEnabled = scrollingStateTree->rootStateNode()->momentumScrollingAnimatorEnabled(); 302 306 } 303 307 … … 321 325 node->willBeDestroyed(); 322 326 } 327 328 if (rootNode && (rootStateNodeChanged || rootNode->hasChangedProperty(ScrollingStateNode::Property::MomentumScrollingAnimatorEnabled))) 329 RELEASE_LOG(Scrolling, "ScrollingTree momentum scrolling animator enabled: %d", rootNode->momentumScrollingAnimatorEnabled()); 330 323 331 324 332 LOG_WITH_STREAM(ScrollingTree, stream << "committed ScrollingTree" << scrollingTreeAsText(ScrollingStateTreeAsTextBehaviorDebug)); -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingTree.h
r278923 r286725 101 101 void setScrollingPerformanceTestingEnabled(bool value) { m_scrollingPerformanceTestingEnabled = value; } 102 102 103 bool momentumScrollingAnimatorEnabled() const { return m_momentumScrollingAnimatorEnabled; } 104 void setMomentumScrollingAnimatorEnabled(bool value) { m_momentumScrollingAnimatorEnabled = value; } 105 103 106 WEBCORE_EXPORT OptionSet<WheelEventProcessingSteps> determineWheelEventProcessing(const PlatformWheelEvent&); 104 107 WEBCORE_EXPORT virtual WheelEventHandlingResult handleWheelEvent(const PlatformWheelEvent&, OptionSet<WheelEventProcessingSteps> = { }); … … 336 339 bool m_asyncFrameOrOverflowScrollingEnabled { false }; 337 340 bool m_wheelEventGesturesBecomeNonBlocking { false }; 341 bool m_momentumScrollingAnimatorEnabled { false }; 338 342 bool m_needsApplyLayerPositionsAfterCommit { false }; 339 343 bool m_inCommitTreeState { false }; -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.cpp
r279218 r286725 228 228 } 229 229 230 bool ScrollingTreeScrollingNode::momentumScrollingAnimatorEnabled() const 231 { 232 return scrollingTree().momentumScrollingAnimatorEnabled(); 233 } 234 230 235 FloatPoint ScrollingTreeScrollingNode::adjustedScrollPosition(const FloatPoint& scrollPosition, ScrollClamping clamping) const 231 236 { -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/ScrollingTreeScrollingNode.h
r279218 r286725 121 121 122 122 virtual FloatPoint adjustedScrollPosition(const FloatPoint&, ScrollClamping = ScrollClamping::Clamped) const; 123 123 bool momentumScrollingAnimatorEnabled() const; 124 124 125 virtual void currentScrollPositionChanged(ScrollType, ScrollingLayerPositionAction = ScrollingLayerPositionAction::Sync); 125 126 virtual void updateViewportForCurrentScrollPosition(std::optional<FloatRect> = { }) { } -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h
r279218 r286725 90 90 void adjustScrollPositionToBoundsIfNecessary() final; 91 91 92 bool momentumScrollingAnimatorEnabled() const final; 93 92 94 bool scrollPositionIsNotRubberbandingEdge(const FloatPoint&) const; 93 95 void scrollControllerAnimationTimerFired(); -
branches/safari-612.4.2.1-branch/Source/WebCore/page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm
r279218 r286725 479 479 } 480 480 481 bool ScrollingTreeScrollingNodeDelegateMac::momentumScrollingAnimatorEnabled() const 482 { 483 return scrollingNode().momentumScrollingAnimatorEnabled(); 484 } 485 481 486 } // namespace WebCore 482 487 -
branches/safari-612.4.2.1-branch/Source/WebCore/platform/ScrollController.h
r280492 r286725 114 114 virtual LayoutSize scrollExtent() const = 0; 115 115 virtual FloatSize viewportSize() const = 0; 116 117 virtual bool momentumScrollingAnimatorEnabled() const { return false; } 116 118 }; 117 119 -
branches/safari-612.4.2.1-branch/Source/WebKit/ChangeLog
r286724 r286725 1 2021-12-03 Alan Coon <alancoon@apple.com> 2 3 Cherry-pick r285526. rdar://problem/85928816 4 5 Add runtime flag for momentum scrolling 6 https://bugs.webkit.org/show_bug.cgi?id=232898 7 <rdar://problem/85211338> 8 9 Reviewed by Simon Fraser. 10 11 * Scripts/Preferences/WebPreferencesInternal.yaml: 12 Add the preference. 13 14 * page/scrolling/AsyncScrollingCoordinator.cpp: 15 (WebCore::AsyncScrollingCoordinator::setFrameScrollingNodeState): 16 * page/scrolling/ScrollingStateFrameScrollingNode.cpp: 17 (WebCore::ScrollingStateFrameScrollingNode::ScrollingStateFrameScrollingNode): 18 (WebCore::ScrollingStateFrameScrollingNode::applicableProperties const): 19 (WebCore::ScrollingStateFrameScrollingNode::setMomentumScrollingAnimatorEnabled): 20 * page/scrolling/ScrollingStateFrameScrollingNode.h: 21 * page/scrolling/ScrollingStateNode.h: 22 * page/scrolling/ScrollingTree.cpp: 23 (WebCore::ScrollingTree::commitTreeState): 24 * page/scrolling/ScrollingTree.h: 25 (WebCore::ScrollingTree::momentumScrollingAnimatorEnabled const): 26 (WebCore::ScrollingTree::setMomentumScrollingAnimatorEnabled): 27 * page/scrolling/ScrollingTreeScrollingNode.cpp: 28 (WebCore::ScrollingTreeScrollingNode::momentumScrollingAnimatorEnabled const): 29 * page/scrolling/ScrollingTreeScrollingNode.h: 30 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.h: 31 * page/scrolling/mac/ScrollingTreeScrollingNodeDelegateMac.mm: 32 (WebCore::ScrollingTreeScrollingNodeDelegateMac::momentumScrollingAnimatorEnabled const): 33 * platform/ScrollingEffectsController.h: 34 (WebCore::ScrollingEffectsControllerClient::momentumScrollingAnimatorEnabled const): 35 36 * Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp: 37 (ArgumentCoder<ScrollingStateFrameScrollingNode>::encode): 38 (ArgumentCoder<ScrollingStateFrameScrollingNode>::decode): 39 40 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@285526 268f45cc-cd09-0410-ab3c-d52691b4dbfc 41 42 2021-11-09 Tim Horton <timothy_horton@apple.com> 43 44 Add runtime flag for momentum scrolling 45 https://bugs.webkit.org/show_bug.cgi?id=232898 46 <rdar://problem/85211338> 47 48 Reviewed by Simon Fraser. 49 50 * Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp: 51 (ArgumentCoder<ScrollingStateFrameScrollingNode>::encode): 52 (ArgumentCoder<ScrollingStateFrameScrollingNode>::decode): 53 1 54 2021-12-03 Russell Epstein <repstein@apple.com> 2 55 -
branches/safari-612.4.2.1-branch/Source/WebKit/Shared/RemoteLayerTree/RemoteScrollingCoordinatorTransaction.cpp
r280527 r286725 150 150 WebCore::ScrollingStateNode::Property::VisualViewportIsSmallerThanLayoutViewport, 151 151 WebCore::ScrollingStateNode::Property::AsyncFrameOrOverflowScrollingEnabled, 152 WebCore::ScrollingStateNode::Property::MomentumScrollingAnimatorEnabled, 152 153 WebCore::ScrollingStateNode::Property::WheelEventGesturesBecomeNonBlocking, 153 154 WebCore::ScrollingStateNode::Property::ScrollingPerformanceTestingEnabled, … … 252 253 SCROLLING_NODE_ENCODE(ScrollingStateNode::Property::MaxLayoutViewportOrigin, maxLayoutViewportOrigin) 253 254 SCROLLING_NODE_ENCODE(ScrollingStateNode::Property::OverrideVisualViewportSize, overrideVisualViewportSize) 255 // MomentumScrollingAnimatorEnabled is not relevant for UI-side compositing. 254 256 255 257 if (node.hasChangedProperty(ScrollingStateNode::Property::CounterScrollingLayer)) … … 366 368 SCROLLING_NODE_DECODE(ScrollingStateNode::Property::MaxLayoutViewportOrigin, FloatPoint, setMaxLayoutViewportOrigin) 367 369 SCROLLING_NODE_DECODE(ScrollingStateNode::Property::OverrideVisualViewportSize, std::optional<FloatSize>, setOverrideVisualViewportSize) 370 // MomentumScrollingAnimatorEnabled is not encoded. 368 371 369 372 if (node.hasChangedProperty(ScrollingStateNode::Property::CounterScrollingLayer)) {
Note:
See TracChangeset
for help on using the changeset viewer.