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

Unified Diff: sky/engine/core/app/AbstractModule.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/AbstractModule.cpp
diff --git a/sky/engine/core/app/AbstractModule.cpp b/sky/engine/core/app/AbstractModule.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..9516b6120302f56695174aa0af1a443c588d9b3d
--- /dev/null
+++ b/sky/engine/core/app/AbstractModule.cpp
@@ -0,0 +1,26 @@
+// 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/AbstractModule.h"
+
+namespace blink {
+
+AbstractModule::AbstractModule(ExecutionContext* context, Document* document, const String& url)
+ : ContextLifecycleObserver(context)
+ , m_document(document)
+ , m_url(url)
+{
+}
+
+AbstractModule::~AbstractModule()
+{
+}
+
+ExecutionContext* AbstractModule::executionContext() const
+{
+ return ContextLifecycleObserver::executionContext();
+}
+
+} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698