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

Unified Diff: Source/core/frame/FrameView.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, 6 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
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index 9c287a5798e3bc3910bd361a4b8064ccc14a7289..e54e49051a0200a9db2c9c33dcfe7db17613b25c 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -111,7 +111,7 @@ public:
void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameSize = isFixed; }
bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; }
- bool needsFullRepaint() const { return m_doFullRepaint; }
+ bool needsFullPaintInvalidation() const { return m_doFullPaintInvalidation; }
void updateAcceleratedCompositingSettings();
@@ -262,10 +262,10 @@ public:
RenderBox* embeddedContentBox() const;
- void setTracksRepaints(bool);
- bool isTrackingRepaints() const { return m_isTrackingRepaints; }
- void resetTrackedRepaints();
- String trackedRepaintRectsAsText() const;
+ void setTracksPaintInvalidations(bool);
+ bool isTrackingPaintInvalidations() const { return m_isTrackingPaintInvalidations; }
+ void resetTrackedPaintInvalidations();
+ String trackedPaintInvalidationRectsAsText() const;
typedef HashSet<ScrollableArea*> ScrollableAreaSet;
void addScrollableArea(ScrollableArea*);
@@ -367,7 +367,7 @@ private:
DocumentLifecycle& lifecycle() const;
- virtual void repaintContentRectangle(const IntRect&) OVERRIDE;
+ virtual void contentRectangleForPaintInvalidation(const IntRect&) OVERRIDE;
virtual void contentsResized() OVERRIDE;
virtual void scrollbarExistenceDidChange() OVERRIDE;
@@ -393,7 +393,7 @@ private:
void didScrollTimerFired(Timer<FrameView>*);
void updateLayersAndCompositingAfterScrollIfNeeded();
- void updateFixedElementRepaintRectsAfterScroll();
+ void updateFixedElementPaintInvalidationRectsAfterScroll();
bool hasCustomScrollbars() const;
bool shouldUseCustomScrollbars(Element*& customScrollbarElement, LocalFrame*& customScrollbarFrame);
@@ -407,7 +407,7 @@ private:
void setLayoutSizeInternal(const IntSize&);
- bool repaintAllowed() const
+ bool paintInvalidationIsAllowed() const
{
if (!RuntimeEnabledFeatures::repaintAfterLayoutEnabled())
return true;
@@ -428,7 +428,7 @@ private:
RefPtr<LocalFrame> m_frame;
- bool m_doFullRepaint;
+ bool m_doFullPaintInvalidation;
bool m_canHaveScrollbars;
bool m_cannotBlitToWindow;
@@ -469,8 +469,8 @@ private:
double m_lastPaintTime;
- bool m_isTrackingRepaints; // Used for testing.
- Vector<IntRect> m_trackedRepaintRects;
+ bool m_isTrackingPaintInvalidations; // Used for testing.
+ Vector<IntRect> m_trackedPaintInvalidationRects;
RefPtrWillBePersistent<Node> m_nodeToDraw;
PaintBehavior m_paintBehavior;
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698