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

Side by Side Diff: Source/modules/presentation/DefaultPresentationStartEvent.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: Replaced the unused forward declaration with the used one 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/DefaultPresentationStartEvent.h"
7
8 namespace blink {
9
10 DefaultPresentationStartEvent::~DefaultPresentationStartEvent()
11 {
12 }
13
14 DefaultPresentationStartEvent::DefaultPresentationStartEvent()
15 {
16 }
17
18 DefaultPresentationStartEvent::DefaultPresentationStartEvent(const AtomicString& eventType, PresentationSession* session)
19 : Event(eventType,
20 false, // canBubble
Peter Beverloo 2015/03/09 19:05:28 nit: it's more common in Blink to have something l
whywhat 2015/03/10 13:00:44 Yes, but I believe this is harder to parse and st
Peter Beverloo 2015/03/10 13:06:53 https://code.google.com/p/chromium/codesearch#sear
whywhat 2015/03/10 15:18:51 Done.
21 false) // cancelable
22 , m_session(session)
23 {
24 }
25
26 DefaultPresentationStartEvent::DefaultPresentationStartEvent(const AtomicString& eventType, const DefaultPresentationStartEventInit& initializer)
27 : Event(eventType, initializer)
28 , m_session(initializer.session())
29 {
30 }
31
32 const AtomicString& DefaultPresentationStartEvent::interfaceName() const
33 {
34 return EventNames::DefaultPresentationStartEvent;
35 }
36
37 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698