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

Unified Diff: Source/core/page/Page.h

Issue 491053004: Expose Web Animations API to Web Workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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: Source/core/page/Page.h
diff --git a/Source/core/page/Page.h b/Source/core/page/Page.h
index 34c94e75edb0fdf3d01a925c64a2171cd344076b..f29a7f356c191c381d6b022f7916e694231f6825 100644
--- a/Source/core/page/Page.h
+++ b/Source/core/page/Page.h
@@ -27,6 +27,7 @@
#include "core/frame/UseCounter.h"
#include "core/page/PageAnimator.h"
#include "core/page/PageVisibilityState.h"
+#include "core/wawwa/ListOfElements.h"
#include "platform/LifecycleContext.h"
#include "platform/Supplementable.h"
#include "platform/geometry/LayoutRect.h"
@@ -308,6 +309,13 @@ private:
// A pointer to all the interfaces provided to in-process Frames for this Page.
// FIXME: Most of the members of Page should move onto FrameHost.
OwnPtrWillBeMember<FrameHost> m_frameHost;
+
+public:
+ RefPtr<ListOfElements> m_listOfElements;
+ void add(DedicatedWorkerGlobalScope * instance)
shans 2014/08/25 11:53:58 add needs a more descriptive name.
+ {
+ m_listOfElements->addToWorkerGlobalScopeVector(instance);
+ }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698