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 |
+ |