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

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

Issue 1340343003: scheduler: Implement WebFrameScheduler and WebPageScheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + fixed gn build. 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
Index: third_party/WebKit/Source/core/frame/FrameHost.h
diff --git a/third_party/WebKit/Source/core/frame/FrameHost.h b/third_party/WebKit/Source/core/frame/FrameHost.h
index 919134d36a754e244d83d1ae6135329f648d339e..405e8d8706c982fa4467d8ca497cb60dec167549 100644
--- a/third_party/WebKit/Source/core/frame/FrameHost.h
+++ b/third_party/WebKit/Source/core/frame/FrameHost.h
@@ -51,6 +51,7 @@ class PageScaleConstraintsSet;
class Settings;
class UseCounter;
class Visitor;
+class WebFrameHostScheduler;
// FrameHost is the set of global data shared between multiple frames
// and is provided by the embedder to each frame when created.
@@ -102,6 +103,9 @@ public:
void setDefaultPageScaleLimits(float minScale, float maxScale);
void setUserAgentPageScaleConstraints(PageScaleConstraints newConstraints);
+ WebFrameHostScheduler* frameHostScheduler() const { return m_frameHostScheduler.get(); }
+
+
private:
explicit FrameHost(Page&);
@@ -111,6 +115,7 @@ private:
const OwnPtrWillBeMember<VisualViewport> m_visualViewport;
const OwnPtrWillBeMember<EventHandlerRegistry> m_eventHandlerRegistry;
const OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage;
+ const OwnPtrWillBeMember<WebFrameHostScheduler> m_frameHostScheduler;
AtomicString m_overrideEncoding;
int m_subframeCount;
« no previous file with comments | « third_party/WebKit/Source/core/frame/DOMTimerCoordinator.cpp ('k') | third_party/WebKit/Source/core/frame/FrameHost.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698