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

Unified Diff: third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp

Issue 1406133005: Calculate paint invalidation rect for scrollbars (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp
index d691c953a295f908a66bb41aad776341bf117076..0660404f65688ebebc17a061068ab8b43d857016 100644
--- a/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp
@@ -52,12 +52,10 @@ public:
MOCK_CONST_METHOD0(isActive, bool());
MOCK_CONST_METHOD1(scrollSize, int(ScrollbarOrientation));
- MOCK_METHOD2(invalidateScrollbar, void(Scrollbar*, const IntRect&));
MOCK_CONST_METHOD0(isScrollCornerVisible, bool());
MOCK_CONST_METHOD0(scrollCornerRect, IntRect());
MOCK_METHOD2(setScrollOffset, void(const IntPoint&, ScrollType));
- MOCK_METHOD2(invalidateScrollbarRect, void(Scrollbar*, const IntRect&));
- MOCK_METHOD1(invalidateScrollCornerRect, void(const IntRect&));
+ MOCK_METHOD0(scrollControlWasSetNeedsPaintInvalidation, void());
MOCK_CONST_METHOD0(enclosingScrollableArea, ScrollableArea*());
MOCK_CONST_METHOD0(minimumScrollPosition, IntPoint());
MOCK_CONST_METHOD0(maximumScrollPosition, IntPoint());
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698