| OLD | NEW |
| 1 {# http://www.chromium.org/blink/coding-style#TOC-License #} | 1 {# http://www.chromium.org/blink/coding-style#TOC-License #} |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
| 7 * met: | 7 * met: |
| 8 * | 8 * |
| 9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY! | 33 // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY! |
| 34 | 34 |
| 35 #ifndef {{v8_class}}_h | 35 #ifndef {{v8_class}}_h |
| 36 #define {{v8_class}}_h | 36 #define {{v8_class}}_h |
| 37 | 37 |
| 38 {% filter conditional(conditional_string) %} | 38 {% filter conditional(conditional_string) %} |
| 39 {% for filename in header_includes %} | 39 {% for filename in header_includes %} |
| 40 #include "{{filename}}" | 40 #include "{{filename}}" |
| 41 {% endfor %} | 41 {% endfor %} |
| 42 | 42 |
| 43 {% set pass_ref_ptr = 'PassRefPtrWillBeRawPtr' if is_garbage_collected else | |
| 44 'PassRefPtr' %} | |
| 45 namespace WebCore { | 43 namespace WebCore { |
| 46 | 44 |
| 47 {% if has_event_constructor %} | 45 {% if has_event_constructor %} |
| 48 class Dictionary; | 46 class Dictionary; |
| 49 {% endif %} | 47 {% endif %} |
| 50 {% if named_constructor %} | 48 {% if named_constructor %} |
| 51 class {{v8_class}}Constructor { | 49 class {{v8_class}}Constructor { |
| 52 public: | 50 public: |
| 53 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWor
ldType); | 51 static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWor
ldType); |
| 54 static const WrapperTypeInfo wrapperTypeInfo; | 52 static const WrapperTypeInfo wrapperTypeInfo; |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); | 301 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
| 304 } | 302 } |
| 305 | 303 |
| 306 {% if has_event_constructor %} | 304 {% if has_event_constructor %} |
| 307 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); | 305 bool initialize{{cpp_class}}({{cpp_class}}Init&, const Dictionary&, ExceptionSta
te&, const v8::FunctionCallbackInfo<v8::Value>& info, const String& = ""); |
| 308 | 306 |
| 309 {% endif %} | 307 {% endif %} |
| 310 } | 308 } |
| 311 {% endfilter %} | 309 {% endfilter %} |
| 312 #endif // {{v8_class}}_h | 310 #endif // {{v8_class}}_h |
| OLD | NEW |