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

Unified Diff: Source/modules/presentation/PresentationSession.cpp

Issue 685263003: The rest of the Presentation API IDL as stubs. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added OWNERS file for real Created 6 years, 1 month 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/PresentationSession.cpp
diff --git a/Source/modules/presentation/PresentationSession.cpp b/Source/modules/presentation/PresentationSession.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..11ea70bd53f4722d9a7bdbad9cec31dee2bd42ef
--- /dev/null
+++ b/Source/modules/presentation/PresentationSession.cpp
@@ -0,0 +1,50 @@
+// Copyright 2014 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/PresentationSession.h"
+
+#include "modules/EventTargetModules.h"
+
+namespace blink {
+
+PresentationSession::PresentationSession(ExecutionContext* executionContext)
+ : ContextLifecycleObserver(executionContext)
+{
+}
+
+PresentationSession::~PresentationSession()
+{
+}
+
+// static
+PresentationSession* PresentationSession::create(ExecutionContext* executionContext)
+{
+ return new PresentationSession(executionContext);
+}
+
+const AtomicString& PresentationSession::interfaceName() const
+{
+ return EventTargetNames::PresentationSession;
+}
+
+ExecutionContext* PresentationSession::executionContext() const
+{
+ return ContextLifecycleObserver::executionContext();
+}
+
+void PresentationSession::trace(Visitor* visitor)
+{
+ EventTargetWithInlineData::trace(visitor);
+}
+
+void PresentationSession::postMessage(const String& message)
+{
+}
+
+void PresentationSession::close()
+{
+}
+
+} // namespace blink
« no previous file with comments | « Source/modules/presentation/PresentationSession.h ('k') | Source/modules/presentation/PresentationSession.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698