1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 #include "modules/presentation/PresentationSession.h"
8 #include "modules/EventTargetModules.h"
12 PresentationSession::PresentationSession(ExecutionContext* executionContext)
13 : ContextLifecycleObserver(executionContext)
17 PresentationSession::~PresentationSession()
22 PresentationSession* PresentationSession::create(ExecutionContext* executionContext)
24 return new PresentationSession(executionContext);
27 const AtomicString& PresentationSession::interfaceName() const
29 return EventTargetNames::PresentationSession;
32 ExecutionContext* PresentationSession::executionContext() const
34 return ContextLifecycleObserver::executionContext();
37 void PresentationSession::trace(Visitor* visitor)
39 EventTargetWithInlineData::trace(visitor);
42 void PresentationSession::postMessage(const String& message)
46 void PresentationSession::close()