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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.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/core/paint/FramePainter.h
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.h b/third_party/WebKit/Source/core/paint/FramePainter.h
index f1b91f825f817d36f1c2de2f51ba98eb764f061f..6dac65ab50676c8a14b068db8a32638cf6190722 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.h
+++ b/third_party/WebKit/Source/core/paint/FramePainter.h
@@ -10,6 +10,7 @@
namespace blink {
+class CullRect;
class FrameView;
class GraphicsContext;
class IntRect;
@@ -21,9 +22,9 @@ class FramePainter {
public:
explicit FramePainter(const FrameView& frameView) : m_frameView(&frameView) { }
- void paint(GraphicsContext*, const GlobalPaintFlags, const IntRect&);
+ void paint(GraphicsContext*, const GlobalPaintFlags, const CullRect&);
void paintScrollbars(GraphicsContext*, const IntRect&);
- void paintContents(GraphicsContext*, const GlobalPaintFlags, const IntRect& damageRect);
+ void paintContents(GraphicsContext*, const GlobalPaintFlags, const IntRect&);
void paintScrollCorner(GraphicsContext*, const IntRect& cornerRect);
private:

Powered by Google App Engine
This is Rietveld 408576698