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

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

Issue 1364063007: Throttle rendering pipeline for invisible frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix layout test by not dumping throttled FrameViews. 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/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index ce17bb37a70e980ed2ea2f1ed08924d7f78fe702..44067813b67f28722b7b23e2de10941035def421 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -182,6 +182,8 @@ public:
DisplayItemClient displayItemClient() const { return toDisplayItemClient(this); }
String debugName() const { return "LocalFrame"; }
+ bool shouldThrottleRendering() const;
+
// ========
// Returns the frame scheduler, creating one if needed.

Powered by Google App Engine
This is Rietveld 408576698