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

Side by Side Diff: Source/modules/presentation/DefaultSessionStartEvent.cpp

Issue 974993002: [Presentation API] Added the DefaultPresentationStart event and parsing of the default presentation… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed last reviewers wishes Created 5 years, 9 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 2015 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/DefaultSessionStartEvent.h"
7
8 #include "modules/presentation/DefaultSessionStartEventInit.h"
9
10 namespace blink {
11
12 DefaultSessionStartEvent::~DefaultSessionStartEvent()
13 {
14 }
15
16 DefaultSessionStartEvent::DefaultSessionStartEvent()
17 {
18 }
19
20 DefaultSessionStartEvent::DefaultSessionStartEvent(const AtomicString& eventType , PresentationSession* session)
21 : Event(eventType, false /* canBubble */, false /* cancelable */)
22 , m_session(session)
23 {
24 }
25
26 DefaultSessionStartEvent::DefaultSessionStartEvent(const AtomicString& eventType , const DefaultSessionStartEventInit& initializer)
27 : Event(eventType, initializer)
28 , m_session(initializer.session())
29 {
30 }
31
32 const AtomicString& DefaultSessionStartEvent::interfaceName() const
33 {
34 return EventNames::DefaultSessionStartEvent;
35 }
36
37 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/presentation/DefaultSessionStartEvent.h ('k') | Source/modules/presentation/DefaultSessionStartEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698