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

Unified Diff: third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm

Issue 1591953005: Make ScrollbarThemeAura selectively invalidate scrollbar parts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge with master; remove blank line Created 4 years, 11 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
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.h ('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/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
index 955bd6b9728df0ba647394764e0e2f7346bbb794..960d38e1b17e306a5a6c4d987ad600afbdcdff92 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.mm
@@ -104,6 +104,13 @@ static bool supportsExpandedScrollbars()
return globalSupportsExpandedScrollbars;
}
+ScrollbarPart ScrollbarThemeMacOverlayAPI::invalidateOnThumbPositionChange(
+ const ScrollbarThemeClient& scrollbar, float oldPosition, float newPosition) const
+{
+ // ScrollAnimatorMac will invalidate scrollbar parts if necessary.
+ return NoPart;
+}
+
void ScrollbarThemeMacOverlayAPI::registerScrollbar(ScrollbarThemeClient& scrollbar)
{
ScrollbarThemeMacCommon::registerScrollbar(scrollbar);
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/ScrollbarThemeMacOverlayAPI.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698