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

Unified Diff: sky/engine/core/app/AbstractModule.idl

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.idl
diff --git a/sky/engine/core/app/AbstractModule.idl b/sky/engine/core/app/AbstractModule.idl
new file mode 100644
index 0000000000000000000000000000000000000000..50f64383ebd20f3f724774c82dd4503c3be48230
--- /dev/null
+++ b/sky/engine/core/app/AbstractModule.idl
@@ -0,0 +1,12 @@
+// 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.
+
+interface AbstractModule : EventTarget {
+ readonly attribute Document document;
+ readonly attribute DOMString url;
+
+ // FIXME:
+ // readonly attribute Element? currentScript;
+ // Promise<any> import(DOMString url);
+};

Powered by Google App Engine
This is Rietveld 408576698