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

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

Issue 1422493003: Change Widget subclasses to use a CullRect instead of an IntRect for painting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
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 343656a7f46c09de47519cecc5cc1b493770cc84..790930627ff6177af981f8f76a9bff88470db9e8 100644
--- a/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
+++ b/third_party/WebKit/Source/platform/scroll/ScrollbarTheme.h
@@ -34,6 +34,7 @@
namespace blink {
+class CullRect;
class GraphicsContext;
class PlatformMouseEvent;
class ScrollbarThemeClient;
@@ -46,7 +47,7 @@ public:
virtual void updateEnabledState(const ScrollbarThemeClient*) { }
- virtual bool paint(const ScrollbarThemeClient*, GraphicsContext*, const IntRect& damageRect);
+ virtual bool paint(const ScrollbarThemeClient*, GraphicsContext*, const CullRect&);
virtual ScrollbarPart hitTest(const ScrollbarThemeClient*, const IntPoint&);
« no previous file with comments | « third_party/WebKit/Source/platform/scroll/Scrollbar.cpp ('k') | third_party/WebKit/Source/platform/scroll/ScrollbarTheme.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698