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

Unified Diff: third_party/WebKit/public/platform/WebScrollbarThemePainter.h

Issue 1458703010: Mac: Don't repaint scrollbars every frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master2
Patch Set: Fix typo for real 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/public/platform/WebScrollbarThemePainter.h
diff --git a/third_party/WebKit/public/platform/WebScrollbarThemePainter.h b/third_party/WebKit/public/platform/WebScrollbarThemePainter.h
index 6563a6e65b533381525d75d541d02ed2601eef06..6f141c4de9a5b536d884268e1bf603f2953d8b5a 100644
--- a/third_party/WebKit/public/platform/WebScrollbarThemePainter.h
+++ b/third_party/WebKit/public/platform/WebScrollbarThemePainter.h
@@ -64,6 +64,12 @@ public:
BLINK_PLATFORM_EXPORT void paintTickmarks(WebCanvas*, const WebRect&);
BLINK_PLATFORM_EXPORT void paintThumb(WebCanvas*, const WebRect&);
+ BLINK_PLATFORM_EXPORT float trackOpacity() const;
+ BLINK_PLATFORM_EXPORT float thumbOpacity() const;
+
+ BLINK_PLATFORM_EXPORT bool trackBackgroundNeedsRepaint() const;
+ BLINK_PLATFORM_EXPORT bool thumbNeedsRepaint() const;
+
#if INSIDE_BLINK
BLINK_PLATFORM_EXPORT WebScrollbarThemePainter(ScrollbarTheme*, Scrollbar*, float deviceScaleFactor);
#endif

Powered by Google App Engine
This is Rietveld 408576698