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: third_party/WebKit/Source/core/frame/FrameView.h

Issue 1909033003: Add FrameView::updateAllLifecyclePhasesExceptPaint and use it in a few cases. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 59019c5a7ba6e0ad9aa95cbdf617bf8286436528..5702eafae6c69e1b7db3a7ed67b328e9b09cbff4 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -237,6 +237,9 @@ public:
// (e.g., based on visibility) and will not end up being PaintInvalidationClean.
void updateAllLifecyclePhases();
+ // Everything except paint (the last phase).
+ void updateAllLifecyclePhasesExceptPaint();
+
// Computes the style, layout and compositing lifecycle stages if needed. After calling this method, all frames will be in a lifecycle
// state >= CompositingClean, and scrolling has been updated (unless throttling is allowed).
void updateLifecycleToCompositingCleanPlusScrolling();
@@ -638,6 +641,7 @@ private:
enum LifeCycleUpdateOption {
OnlyUpToLayoutClean,
OnlyUpToCompositingCleanPlusScrolling,
+ AllPhasesExceptPaint,
AllPhases,
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/DocumentLifecycle.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698