| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 "modules/presentation/PresentationConnectionList.h" |
| 6 |
| 7 #include "modules/EventTargetModules.h" |
| 8 |
| 9 namespace blink { |
| 10 |
| 11 PresentationConnectionList::PresentationConnectionList(ExecutionContext* context
) |
| 12 : ContextLifecycleObserver(context) |
| 13 { |
| 14 } |
| 15 |
| 16 const AtomicString& PresentationConnectionList::interfaceName() const |
| 17 { |
| 18 return EventTargetNames::PresentationConnectionList; |
| 19 } |
| 20 |
| 21 ExecutionContext* PresentationConnectionList::getExecutionContext() const |
| 22 { |
| 23 return ContextLifecycleObserver::getExecutionContext(); |
| 24 } |
| 25 |
| 26 const HeapVector<Member<PresentationConnection>>& PresentationConnectionList::co
nnections() const |
| 27 { |
| 28 return m_connections; |
| 29 } |
| 30 |
| 31 DEFINE_TRACE(PresentationConnectionList) |
| 32 { |
| 33 visitor->trace(m_connections); |
| 34 ContextLifecycleObserver::trace(visitor); |
| 35 EventTargetWithInlineData::trace(visitor); |
| 36 } |
| 37 |
| 38 } // namespace blink |
| OLD | NEW |