| Index: Source/modules/presentation/Presentation.h
|
| diff --git a/Source/modules/presentation/Presentation.h b/Source/modules/presentation/Presentation.h
|
| index 17603c168c2b5e6c1364e3ebfcf841591ee7eac1..b324a562654628f786f10582bbd7715684de7fe2 100644
|
| --- a/Source/modules/presentation/Presentation.h
|
| +++ b/Source/modules/presentation/Presentation.h
|
| @@ -10,6 +10,7 @@
|
| #include "core/frame/DOMWindowProperty.h"
|
| #include "modules/presentation/PresentationSession.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "platform/heap/Heap.h"
|
|
|
| namespace WTF {
|
| class String;
|
| @@ -56,6 +57,9 @@ public:
|
| void didChangeAvailability(bool available);
|
| // Queried by the controller if |availablechange| event has any listeners.
|
| bool isAvailableChangeWatched() const;
|
| + // Adds a session to the open sessions list.
|
| + void registerSession(PresentationSession*);
|
| +
|
| private:
|
| explicit Presentation(LocalFrame*);
|
|
|
| @@ -63,7 +67,11 @@ private:
|
| // Can return |nullptr| if the frame is detached from the document.
|
| PresentationController* presentationController();
|
|
|
| + // The session object provided to the presentation page. Not supported.
|
| Member<PresentationSession> m_session;
|
| +
|
| + // The sessions opened for this frame.
|
| + HeapHashSet<Member<PresentationSession>> m_openSessions;
|
| };
|
|
|
| } // namespace blink
|
|
|