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

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

Issue 1428643004: Repaint on interest rect change (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableSyncPaint
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/frame/FrameView.h
diff --git a/third_party/WebKit/Source/core/frame/FrameView.h b/third_party/WebKit/Source/core/frame/FrameView.h
index d0b0a71569cd010bee301a052b4bec7f8afd2234..846962b395c7481fd3c967a48009d345c2a7cd27 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -232,8 +232,7 @@ public:
// Run all needed lifecycle stages. After calling this method, all frames will be in the lifecycle state PaintInvalidationClean.
// If lifecycle throttling is allowed (see DocumentLifecycle::PreventThrottlingScope), some frames may skip the lifecycle update
// (e.g., based on visibility) and will not end up being PaintInvalidationClean.
- // TODO(pdr): Update callers to pass in the interest rect.
- void updateAllLifecyclePhases(const LayoutRect* interestRect = nullptr);
+ void updateAllLifecyclePhases(const IntRect* interestRect = nullptr);
// 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 (unless throttling is allowed).
@@ -632,13 +631,13 @@ private:
AllPhases,
};
- void updateLifecyclePhasesInternal(LifeCycleUpdateOption, const LayoutRect* interestRect);
+ void updateLifecyclePhasesInternal(LifeCycleUpdateOption, const IntRect* interestRect);
void invalidateTreeIfNeededRecursive();
void scrollContentsIfNeededRecursive();
void updateStyleAndLayoutIfNeededRecursive();
void updatePaintProperties();
- void synchronizedPaint(const LayoutRect* interestRect);
- void synchronizedPaintRecursively(GraphicsLayer*, const LayoutRect* interestRect);
+ void synchronizedPaint(const IntRect* interestRect);
+ void synchronizedPaintRecursively(GraphicsLayer*, const IntRect* interestRect);
void compositeForSlimmingPaintV2();
void reset();

Powered by Google App Engine
This is Rietveld 408576698