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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.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/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index 0b9074b1495c4e0f3ad5946649895e253db202a0..ce17bb37a70e980ed2ea2f1ed08924d7f78fe702 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -72,6 +72,8 @@ class TreeScope;
class ScriptController;
class SpellChecker;
class TreeScope;
+class WebFrameHostScheduler;
+class WebFrameScheduler;
template <typename Strategy> class PositionWithAffinityTemplate;
class CORE_EXPORT LocalFrame : public Frame, public LocalFrameLifecycleNotifier, public WillBeHeapSupplementable<LocalFrame> {
@@ -182,6 +184,10 @@ public:
// ========
+ // Returns the frame scheduler, creating one if needed.
+ WebFrameScheduler* frameScheduler();
+ void updateFrameSecurityOrigin();
+
private:
LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*);
@@ -211,6 +217,7 @@ private:
const OwnPtrWillBeMember<EventHandler> m_eventHandler;
const OwnPtrWillBeMember<FrameConsole> m_console;
const OwnPtrWillBeMember<InputMethodController> m_inputMethodController;
+ OwnPtr<WebFrameScheduler> m_frameScheduler;
#if ENABLE(OILPAN)
// Oilpan: in order to reliably finalize plugin elements with
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698