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

Unified Diff: Source/bindings/templates/blink_in_js_interface.h

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/templates/blink_in_js_interface.h
diff --git a/Source/bindings/templates/blink_in_js_interface.h b/Source/bindings/templates/blink_in_js_interface.h
new file mode 100644
index 0000000000000000000000000000000000000000..d97883abad5ef4a2100a0a0e7c51b5cb2a03de83
--- /dev/null
+++ b/Source/bindings/templates/blink_in_js_interface.h
@@ -0,0 +1,28 @@
+// 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.
+
+// This file has been auto-generated by {{code_generator}}. DO NOT MODIFY!
+
+#ifndef {{v8_class}}_h
+#define {{v8_class}}_h
+
+{% for filename in header_includes %}
+#include "{{filename}}"
+{% endfor %}
+
+namespace WebCore {
+
+{% for forward_declaration in forward_declarations %}
+class {{forward_declaration}};
+{% endfor %}
+
+class {{v8_class}} {
+public:
+{% for method in methods %}
+ static bool {{method.name}}({{method.argument_declarations | join(', ')}});
+{% endfor %}
+};
+
+}
+#endif // {{v8_class}}_h

Powered by Google App Engine
This is Rietveld 408576698