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

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

Issue 2590163004: Aura overlay scrollbars shouldn't invalidate thumb on scroll or enabled state. (Closed)
Patch Set: Fix BUILD.gn, make MockScrollableArea constructor protected Created 4 years 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/ScrollbarTheme.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
index ec03635f57af4bed02a460181197917342f0556c..5c9021bd5f2de31ff0f1cd2627420d1a26bb0bda 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -92,6 +92,10 @@ class PLATFORM_EXPORT ScrollbarTheme {
return AllParts;
}
+ // Returns parts of the scrollbar which must be repainted following a change
+ // in enabled state.
+ virtual ScrollbarPart invalidateOnEnabledChange() const { return AllParts; }
+
virtual void paintScrollCorner(GraphicsContext&,
const DisplayItemClient&,
const IntRect& cornerRect);

Powered by Google App Engine
This is Rietveld 408576698