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

Unified Diff: sky/engine/core/app/Module.cpp

Issue 697873007: Add Module and Application interfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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: sky/engine/core/app/Module.cpp
diff --git a/sky/engine/core/app/Module.cpp b/sky/engine/core/app/Module.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..43f4de535994ac9018d04a19323538a23ad5ba3f
--- /dev/null
+++ b/sky/engine/core/app/Module.cpp
@@ -0,0 +1,27 @@
+// 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 "core/app/Module.h"
+
+#include "core/EventTargetNames.h"
+
+namespace blink {
+
+Module::Module(ExecutionContext* context, Application* application, Document* document, const String& url)
+ : AbstractModule(context, document, url)
+ , m_application(application)
+{
+}
+
+Module::~Module()
+{
+}
+
+const AtomicString& Module::interfaceName() const
+{
+ return EventTargetNames::Module;
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698