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

Unified Diff: Source/core/frame/FrameView.h

Issue 204813002: Optimize layout/repaint on FrameView resize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Is it better to let layout fully control what to repaint? Created 6 years, 9 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') | Source/core/frame/FrameView.cpp » ('J')
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 07ccb28aa615c5404ea1573685f16da955149182..0b50afbb18a4464c05c7852ec42b9286de82fe14 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -101,6 +101,7 @@ public:
bool needsLayout() const;
void setNeedsLayout();
+ void setNeedsResizeLayout();
// Methods for getting/setting the size Blink should use to layout the contents.
IntSize layoutSize(IncludeScrollbarsInRect = ExcludeScrollbars) const;
@@ -111,8 +112,6 @@ public:
void setLayoutSizeFixedToFrameSize(bool isFixed) { m_layoutSizeFixedToFrameSize = isFixed; }
bool layoutSizeFixedToFrameSize() { return m_layoutSizeFixedToFrameSize; }
- bool needsFullRepaint() const { return m_doFullRepaint; }
-
void updateCompositingLayersAfterStyleChange();
void updateCompositingLayersAfterLayout();
@@ -265,6 +264,7 @@ public:
void setTracksRepaints(bool);
bool isTrackingRepaints() const { return m_isTrackingRepaints; }
void resetTrackedRepaints();
+ const Vector<IntRect>& trackedRepaintRects() const { return m_trackedRepaintRects; }
dsinclair 2014/03/20 10:41:41 This seems unrelated to the current cl?
Xianzhu 2014/03/20 17:47:43 The new unit test needs it.
String trackedRepaintRectsAsText() const;
typedef HashSet<ScrollableArea*> ScrollableAreaSet;
@@ -429,8 +429,6 @@ private:
RefPtr<LocalFrame> m_frame;
- bool m_doFullRepaint;
-
bool m_canHaveScrollbars;
bool m_cannotBlitToWindow;
bool m_isOverlapped;
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/core/frame/FrameView.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698