| 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 17 matching lines...) Expand all Loading... |
| 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 {# FIXME: Rename to Python when switch #} | 32 {# FIXME: Rename to Python when switch #} |
| 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_name}}_h | 35 #ifndef {{v8_class_name}}_h |
| 36 #define {{v8_class_name}}_h | 36 #define {{v8_class_name}}_h |
| 37 | 37 |
| 38 {% if conditional_string %} | 38 {% filter conditional(conditional_string) %} |
| 39 #if {{conditional_string}} | |
| 40 {% endif %} | |
| 41 {% for filename in header_includes %} | 39 {% for filename in header_includes %} |
| 42 #include "{{filename}}" | 40 #include "{{filename}}" |
| 43 {% endfor %} | 41 {% endfor %} |
| 44 | 42 |
| 45 namespace WebCore { | 43 namespace WebCore { |
| 46 | 44 |
| 47 class ExecutionContext; | 45 class ExecutionContext; |
| 48 | 46 |
| 49 class {{v8_class_name}} : public {{cpp_class_name}}, public ActiveDOMCallback { | 47 class {{v8_class_name}} : public {{cpp_class_name}}, public ActiveDOMCallback { |
| 50 public: | 48 public: |
| (...skipping 13 matching lines...) Expand all Loading... |
| 64 virtual ExecutionContext* executionContext() const { return ContextLifecycle
Observer::executionContext(); } | 62 virtual ExecutionContext* executionContext() const { return ContextLifecycle
Observer::executionContext(); } |
| 65 | 63 |
| 66 private: | 64 private: |
| 67 {{v8_class_name}}(v8::Handle<v8::Object>, ExecutionContext*); | 65 {{v8_class_name}}(v8::Handle<v8::Object>, ExecutionContext*); |
| 68 | 66 |
| 69 ScopedPersistent<v8::Object> m_callback; | 67 ScopedPersistent<v8::Object> m_callback; |
| 70 RefPtr<DOMWrapperWorld> m_world; | 68 RefPtr<DOMWrapperWorld> m_world; |
| 71 }; | 69 }; |
| 72 | 70 |
| 73 } | 71 } |
| 74 | 72 {% endfilter %} |
| 75 {% if conditional_string %} | |
| 76 #endif // {{conditional_string}} | |
| 77 {% endif %} | |
| 78 #endif // {{v8_class_name}}_h | 73 #endif // {{v8_class_name}}_h |
| OLD | NEW |