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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h

Issue 2680953002: Remove GraphicsLayer::didScroll and directly call ScrollableArea::didScroll (Closed)
Patch Set: Incorporate reviewer comments: more tests, less bad tests Created 3 years, 10 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/platform/scroll/ScrollbarTestSuite.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
index 7b499d50e748312e9c669db9051b70927f660083..eb9ed62962b95ed0c1bc9e08890896d16065706e 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTestSuite.h
@@ -63,6 +63,9 @@ class MockScrollableArea : public GarbageCollectedFinalized<MockScrollableArea>,
bool scrollAnimatorEnabled() const override { return false; }
int pageStep(ScrollbarOrientation) const override { return 0; }
void scrollControlWasSetNeedsPaintInvalidation() {}
+ void setScrollOrigin(const IntPoint& origin) {
+ ScrollableArea::setScrollOrigin(origin);
+ }
RefPtr<WebTaskRunner> getTimerTaskRunner() const final {
return Platform::current()->currentThread()->scheduler()->timerTaskRunner();

Powered by Google App Engine
This is Rietveld 408576698