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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/presentation/DefaultSessionStartEvent.cpp
diff --git a/Source/modules/presentation/DefaultSessionStartEvent.cpp b/Source/modules/presentation/DefaultSessionStartEvent.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..538b3a314699cb3d8fec7935cc46d235d1826d78
--- /dev/null
+++ b/Source/modules/presentation/DefaultSessionStartEvent.cpp
@@ -0,0 +1,37 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+#include "modules/presentation/DefaultSessionStartEvent.h"
+
+#include "modules/presentation/DefaultSessionStartEventInit.h"
+
+namespace blink {
+
+DefaultSessionStartEvent::~DefaultSessionStartEvent()
+{
+}
+
+DefaultSessionStartEvent::DefaultSessionStartEvent()
+{
+}
+
+DefaultSessionStartEvent::DefaultSessionStartEvent(const AtomicString& eventType, PresentationSession* session)
+ : Event(eventType, false /* canBubble */, false /* cancelable */)
+ , m_session(session)
+{
+}
+
+DefaultSessionStartEvent::DefaultSessionStartEvent(const AtomicString& eventType, const DefaultSessionStartEventInit& initializer)
+ : Event(eventType, initializer)
+ , m_session(initializer.session())
+{
+}
+
+const AtomicString& DefaultSessionStartEvent::interfaceName() const
+{
+ return EventNames::DefaultSessionStartEvent;
+}
+
+} // namespace blink
« 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