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

Unified Diff: Source/bindings/tests/idls/TestPrivateScriptInterface.idl

Issue 345893002: Implement an infrastructure of Blink-in-JS Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/bindings/tests/idls/TestPrivateScriptInterface.idl
diff --git a/Source/bindings/tests/idls/TestPrivateScriptInterface.idl b/Source/bindings/tests/idls/TestPrivateScriptInterface.idl
new file mode 100644
index 0000000000000000000000000000000000000000..2b8e6e244e53ee7ddbb3f62d6b5f541235fe411e
--- /dev/null
+++ b/Source/bindings/tests/idls/TestPrivateScriptInterface.idl
@@ -0,0 +1,18 @@
+// 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.
+
+[
+ PrivateScriptInterface,
Nils Barth (inactive) 2014/06/23 03:14:30 alpha
+ NoInterfaceObject
Nils Barth (inactive) 2014/06/23 03:14:30 Trailing comma
+] interface TestPrivateScriptInterface {
+ static void doNothing();
Nils Barth (inactive) 2014/06/23 03:14:30 Usually we've been naming members in test files wi
+ static short return123();
+ static short echoInteger(short value);
+ static DOMString echoString(DOMString value);
+ static Node echoNode(Node value);
+ static short addInteger(short value1, short value2);
+ static DOMString addString(DOMString value1, DOMString value2);
+ static void setIntegerToDocument(Document document, short value);
+ static short getIntegerFromDocument(Document document);
+};

Powered by Google App Engine
This is Rietveld 408576698