Upstream version 11.40.271.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / modules / presentation / PresentationSession.cpp
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.
4
5 #include "config.h"
6 #include "modules/presentation/PresentationSession.h"
7
8 #include "modules/EventTargetModules.h"
9
10 namespace blink {
11
12 PresentationSession::PresentationSession(ExecutionContext* executionContext)
13     : ContextLifecycleObserver(executionContext)
14 {
15 }
16
17 PresentationSession::~PresentationSession()
18 {
19 }
20
21 // static
22 PresentationSession* PresentationSession::create(ExecutionContext* executionContext)
23 {
24     return new PresentationSession(executionContext);
25 }
26
27 const AtomicString& PresentationSession::interfaceName() const
28 {
29     return EventTargetNames::PresentationSession;
30 }
31
32 ExecutionContext* PresentationSession::executionContext() const
33 {
34     return ContextLifecycleObserver::executionContext();
35 }
36
37 void PresentationSession::trace(Visitor* visitor)
38 {
39     EventTargetWithInlineData::trace(visitor);
40 }
41
42 void PresentationSession::postMessage(const String& message)
43 {
44 }
45
46 void PresentationSession::close()
47 {
48 }
49
50 } // namespace blink