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/Presentation.h" 7 8 #include "modules/EventTargetModules.h" 9 10 namespace blink { 11 Presentation(ExecutionContext * executionContext)12Presentation::Presentation(ExecutionContext* executionContext) 13 : ContextLifecycleObserver(executionContext) 14 { 15 } 16 ~Presentation()17Presentation::~Presentation() 18 { 19 } 20 21 // static create(ExecutionContext * executionContext)22Presentation* Presentation::create(ExecutionContext* executionContext) 23 { 24 return new Presentation(executionContext); 25 } 26 interfaceName() const27const AtomicString& Presentation::interfaceName() const 28 { 29 return EventTargetNames::Presentation; 30 } 31 executionContext() const32ExecutionContext* Presentation::executionContext() const 33 { 34 return ContextLifecycleObserver::executionContext(); 35 } 36 trace(Visitor * visitor)37void Presentation::trace(Visitor* visitor) 38 { 39 EventTargetWithInlineData::trace(visitor); 40 } 41 42 } // namespace blink 43