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

Unified Diff: Source/platform/scroll/ScrollView.h

Issue 306413002: Rename Repaint to Paint Invalidation Part 2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master Created 6 years, 7 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: Source/platform/scroll/ScrollView.h
diff --git a/Source/platform/scroll/ScrollView.h b/Source/platform/scroll/ScrollView.h
index 7037943e28c5cf21607bd158156281e82bf45aa7..c2a54cdafb48250bafbd0c522a50ec38e0e244b8 100644
--- a/Source/platform/scroll/ScrollView.h
+++ b/Source/platform/scroll/ScrollView.h
@@ -107,7 +107,7 @@ public:
// By default, paint events are clipped to the visible area. If set to
// false, paint events are no longer clipped. paintsEntireContents() implies !clipsRepaints().
- bool clipsRepaints() const { return m_clipsRepaints; }
+ bool clipsPaintInvalidations() const { return m_clipsRepaints; }
void setClipsRepaints(bool);
// Overridden by FrameView to create custom CSS scrollbars if applicable.
@@ -256,7 +256,7 @@ public:
protected:
ScrollView();
- virtual void repaintContentRectangle(const IntRect&);
+ virtual void invalidatedContentRectangleForPaint(const IntRect&);
virtual void paintContents(GraphicsContext*, const IntRect& damageRect) = 0;
virtual void paintOverhangAreas(GraphicsContext*, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect);

Powered by Google App Engine
This is Rietveld 408576698