| 306 | } |
| 307 | |
| 308 | void ViewNodeScrollState::notifyOnScroll(const Point& directionAgnosticContentOffset, |
| 309 | const Point& directionAgnosticUnclampedContentOffset, |
| 310 | const Point& directionAgnosticVelocity) const { |
| 311 | if (_onScrollCallback != nullptr) { |
| 312 | VALDI_TRACE("Valdi.notifyOnScroll") |
| 313 | submitScrollEvent(_onScrollCallback, |
| 314 | ValueFunctionFlagsAllowThrottling, |
| 315 | directionAgnosticContentOffset, |
| 316 | directionAgnosticUnclampedContentOffset, |
| 317 | directionAgnosticVelocity); |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | void ViewNodeScrollState::notifyOnDragStart(const Point& directionAgnosticContentOffset, |
| 322 | const Point& directionAgnosticUnclampedContentOffset, |