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

Unified Diff: third_party/WebKit/Source/core/frame/VisualViewport.h

Issue 2383113003: Refactor ScrollableArea::setScrollPosition. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/VisualViewport.h
diff --git a/third_party/WebKit/Source/core/frame/VisualViewport.h b/third_party/WebKit/Source/core/frame/VisualViewport.h
index 654bf4b64a4b6c161f99659ce924e1b679a76033..b0966f3b4eafa28acfe7c14432de38f34410c282 100644
--- a/third_party/WebKit/Source/core/frame/VisualViewport.h
+++ b/third_party/WebKit/Source/core/frame/VisualViewport.h
@@ -196,7 +196,7 @@ class CORE_EXPORT VisualViewport final
bool shouldPlaceVerticalScrollbarOnLeft() const override { return false; }
bool scrollAnimatorEnabled() const override;
void scrollControlWasSetNeedsPaintInvalidation() override {}
- void setScrollOffset(const DoublePoint&, ScrollType) override;
+ void updateScrollPosition(const DoublePoint&, ScrollType) override;
GraphicsLayer* layerForContainer() const override;
GraphicsLayer* layerForScrolling() const override;
GraphicsLayer* layerForHorizontalScrollbar() const override;

Powered by Google App Engine
This is Rietveld 408576698