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

Unified 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: Default implementation for the new WebPresentationClient method Created 5 years, 10 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/DefaultPresentationStartEvent.cpp
diff --git a/Source/modules/presentation/DefaultPresentationStartEvent.cpp b/Source/modules/presentation/DefaultPresentationStartEvent.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..166e3983a65c56f4e67d6bd74c8d8171bcb5b894
--- /dev/null
+++ b/Source/modules/presentation/DefaultPresentationStartEvent.cpp
@@ -0,0 +1,35 @@
+// 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/DefaultPresentationStartEvent.h"
+
+namespace blink {
+
+DefaultPresentationStartEvent::~DefaultPresentationStartEvent()
+{
+}
+
+DefaultPresentationStartEvent::DefaultPresentationStartEvent()
+{
+}
+
+DefaultPresentationStartEvent::DefaultPresentationStartEvent(const AtomicString& eventType, PresentationSession* session)
+ : Event(eventType, false, false)
Peter Beverloo 2015/03/03 21:33:02 Perhaps you want to clarify these argument values;
whywhat 2015/03/05 18:41:46 Done.
+ , m_session(session)
+{
+}
+
+DefaultPresentationStartEvent::DefaultPresentationStartEvent(const AtomicString& eventType, const DefaultPresentationStartEventInit& initializer)
+ : Event(eventType, initializer)
+ , m_session(initializer.session())
+{
+}
+
+const AtomicString& DefaultPresentationStartEvent::interfaceName() const
+{
+ return EventNames::DefaultPresentationStartEvent;
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698