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

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

Issue 2706193003: FrameView: Remove redundant tree walk when unthrottling display:none frames (Closed)
Patch Set: Enums ftw Created 3 years, 10 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 | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 924c780768be24a3084d76d12e53be351ce24ebf..736428103814322f52da85e792529c2cb975d09a 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.h
+++ b/third_party/WebKit/Source/core/frame/FrameView.h
@@ -1028,9 +1028,17 @@ class CORE_EXPORT FrameView final
void updateViewportIntersectionsForSubtree(
DocumentLifecycle::LifecycleState targetState);
- void updateRenderThrottlingStatus(bool hidden,
- bool subtreeThrottled,
- bool forceThrottlingInvalidation = false);
+
+ enum ForceThrottlingInvalidationBehavior {
+ DontForceThrottlingInvalidation,
+ ForceThrottlingInvalidation
+ };
+ enum NotifyChildrenBehavior { DontNotifyChildren, NotifyChildren };
+ void updateRenderThrottlingStatus(
+ bool hidden,
+ bool subtreeThrottled,
+ ForceThrottlingInvalidationBehavior = DontForceThrottlingInvalidation,
+ NotifyChildrenBehavior = NotifyChildren);
void notifyResizeObservers();
// PaintInvalidationCapableScrollableArea
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698