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

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

Issue 1327563003: Don't cache subsequence whose layer is not fully contained by repaint rect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For review Created 5 years, 3 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/platform/graphics/paint/DisplayItem.h » ('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 a1b2b4383ff62b44434aa193bdc964110947d04a..4ed07bb25351fa083e755f50390dd9ae4debcbbd 100644
--- a/Source/core/frame/FrameView.h
+++ b/Source/core/frame/FrameView.h
@@ -226,7 +226,8 @@ public:
Color documentBackgroundColor() const;
// Run all needed lifecycle stages. After calling this method, all frames will be in the lifecycle state PaintInvalidationClean.
- void updateAllLifecyclePhases();
+ // TODO(pdr): Update callers to pass in the interest rect.
+ void updateAllLifecyclePhases(const LayoutRect& interestRect = LayoutRect::infiniteRect());
// Computes the style, layout and compositing lifecycle stages if needed. After calling this method, all frames wil lbe in a lifecycle
// state >= CompositingClean, and scrolling has been updated.
@@ -612,11 +613,11 @@ private:
OnlyUpToCompositingCleanPlusScrolling,
};
- void updateLifecyclePhasesInternal(LifeCycleUpdateOption);
+ void updateLifecyclePhasesInternal(LifeCycleUpdateOption, const LayoutRect& interestRect = LayoutRect::infiniteRect());
void invalidateTreeIfNeededRecursive();
void scrollContentsIfNeededRecursive();
void updateStyleAndLayoutIfNeededRecursive();
- void paintForSlimmingPaintV2();
+ void paintForSlimmingPaintV2(const LayoutRect& interestRect);
void compositeForSlimmingPaintV2();
void reset();
« no previous file with comments | « no previous file | Source/core/frame/FrameView.cpp » ('j') | Source/platform/graphics/paint/DisplayItem.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698