Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Side by Side Diff: third_party/WebKit/Source/modules/presentation/PresentationConnectionList.cpp

Issue 2265363002: [Presentation API] make PresentationReceiver API consistent with latest spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix layout test global-interface-listing.html Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698