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

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

Issue 17572008: WIP IDL compiler rewrite (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Branch: const + primitive type readonly attributes Created 7 years, 4 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
« no previous file with comments | « Source/bindings/templates/attributes_wip.cpp ('k') | Source/bindings/templates/callback_interface.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/callback_interface.h
diff --git a/Source/bindings/templates/callback_interface.h b/Source/bindings/templates/callback_interface.h
index 9eecbd1e28c038ede310be920b4bb3b528855a48..ac18d1f8ef49e006a6d922c5f57501ec827594e1 100644
--- a/Source/bindings/templates/callback_interface.h
+++ b/Source/bindings/templates/callback_interface.h
@@ -1,4 +1,24 @@
/*
+ This file is part of the Blink open source project.
+ This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+{# FIXME: update license header
+/*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -29,6 +49,7 @@
*/
// This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY!
+#}
#ifndef {{v8_class_name}}_h
#define {{v8_class_name}}_h
@@ -44,6 +65,7 @@ namespace WebCore {
class ScriptExecutionContext;
+
class {{v8_class_name}} : public {{cpp_class_name}}, public ActiveDOMCallback {
public:
static PassRefPtr<{{v8_class_name}}> create(v8::Handle<v8::Value> value, ScriptExecutionContext* context)
@@ -55,6 +77,7 @@ public:
virtual ~{{v8_class_name}}();
+ // Functions
{% for method in methods %}
virtual {{method.return_cpp_type}} {{method.name}}({{method.argument_declaration}});
{% endfor %}
@@ -69,9 +92,11 @@ private:
};
}
-
{% if conditional_string %}
+
#endif // {{conditional_string}}
{% endif %}
+
#endif // {{v8_class_name}}_h
+
« no previous file with comments | « Source/bindings/templates/attributes_wip.cpp ('k') | Source/bindings/templates/callback_interface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698