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

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

Issue 1458703010: Mac: Don't repaint scrollbars every frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Rebase and resolve 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
Index: third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h
diff --git a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h
index f08f8b61bc80afc31f03f7951d0db1c7e3b29253..a097df4923b17e4125ec0bfb7ad2060797668f64 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarThemeClient.h
@@ -91,6 +91,11 @@ public:
virtual float elasticOverscroll() const = 0;
virtual void setElasticOverscroll(float) = 0;
+ virtual bool trackNeedsRepaint() const = 0;
+ virtual void setTrackNeedsRepaint(bool) = 0;
+ virtual bool thumbNeedsRepaint() const = 0;
+ virtual void setThumbNeedsRepaint(bool) = 0;
+
virtual DisplayItemClient displayItemClient() const = 0;
virtual String debugName() const = 0;

Powered by Google App Engine
This is Rietveld 408576698