| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! | 5 // This file has been auto-generated by {{code_generator}}. DO NOT MODIFY! |
| 6 | 6 |
| 7 #ifndef {{v8_class}}_h | 7 #ifndef {{v8_class}}_h |
| 8 #define {{v8_class}}_h | 8 #define {{v8_class}}_h |
| 9 | 9 |
| 10 {% filter conditional(conditional_string) %} | 10 {% filter conditional(conditional_string) %} |
| 11 {% for filename in header_includes %} | 11 {% for filename in header_includes %} |
| 12 #include "{{filename}}" | 12 #include "{{filename}}" |
| 13 {% endfor %} | 13 {% endfor %} |
| 14 | 14 |
| 15 namespace WebCore { | 15 namespace blink { |
| 16 | 16 |
| 17 {% if has_event_constructor %} | 17 {% if has_event_constructor %} |
| 18 class Dictionary; | 18 class Dictionary; |
| 19 {% endif %} | 19 {% endif %} |
| 20 {% if named_constructor %} | 20 {% if named_constructor %} |
| 21 class {{v8_class}}Constructor { | 21 class {{v8_class}}Constructor { |
| 22 public: | 22 public: |
| 23 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); | 23 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
| 24 static const WrapperTypeInfo wrapperTypeInfo; | 24 static const WrapperTypeInfo wrapperTypeInfo; |
| 25 }; | 25 }; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 276 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 277 } | 277 } |
| 278 | 278 |
| 279 {% if has_event_constructor %} | 279 {% if has_event_constructor %} |
| 280 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); | 280 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); |
| 281 | 281 |
| 282 {% endif %} | 282 {% endif %} |
| 283 } | 283 } |
| 284 {% endfilter %} | 284 {% endfilter %} |
| 285 #endif // {{v8_class}}_h | 285 #endif // {{v8_class}}_h |
| OLD | NEW |