| 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_v8.py. | 5 // This file has been auto-generated by code_generator_v8.py. |
| 6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
| 7 | 7 |
| 8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
| 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl |
| 10 | 10 |
| 11 // clang-format off | 11 // clang-format off |
| 12 #ifndef V8TestInterfaceDocument_h | 12 #ifndef V8TestInterfaceDocument_h |
| 13 #define V8TestInterfaceDocument_h | 13 #define V8TestInterfaceDocument_h |
| 14 | 14 |
| 15 #include "bindings/core/v8/GeneratedCodeHelper.h" | 15 #include "bindings/core/v8/GeneratedCodeHelper.h" |
| 16 #include "bindings/core/v8/NativeValueTraits.h" | 16 #include "bindings/core/v8/NativeValueTraits.h" |
| 17 #include "bindings/core/v8/ToV8ForCore.h" | 17 #include "bindings/core/v8/ToV8ForCore.h" |
| 18 #include "bindings/core/v8/V8BindingForCore.h" | 18 #include "bindings/core/v8/V8BindingForCore.h" |
| 19 #include "bindings/core/v8/V8Document.h" | 19 #include "bindings/core/v8/V8Document.h" |
| 20 #include "bindings/core/v8/WrapperTypeInfo.h" | |
| 21 #include "bindings/tests/idls/core/TestInterfaceDocument.h" | 20 #include "bindings/tests/idls/core/TestInterfaceDocument.h" |
| 22 #include "core/CoreExport.h" | 21 #include "core/CoreExport.h" |
| 23 #include "platform/bindings/ScriptWrappable.h" | 22 #include "platform/bindings/ScriptWrappable.h" |
| 24 #include "platform/bindings/V8DOMWrapper.h" | 23 #include "platform/bindings/V8DOMWrapper.h" |
| 24 #include "platform/bindings/WrapperTypeInfo.h" |
| 25 #include "platform/heap/Handle.h" | 25 #include "platform/heap/Handle.h" |
| 26 | 26 |
| 27 namespace blink { | 27 namespace blink { |
| 28 | 28 |
| 29 class V8TestInterfaceDocument { | 29 class V8TestInterfaceDocument { |
| 30 STATIC_ONLY(V8TestInterfaceDocument); | 30 STATIC_ONLY(V8TestInterfaceDocument); |
| 31 public: | 31 public: |
| 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
| 33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); | 33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>
, v8::Isolate*); |
| 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); | 34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c
onst DOMWrapperWorld&); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 template <> | 59 template <> |
| 60 struct V8TypeOf<TestInterfaceDocument> { | 60 struct V8TypeOf<TestInterfaceDocument> { |
| 61 typedef V8TestInterfaceDocument Type; | 61 typedef V8TestInterfaceDocument Type; |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace blink | 64 } // namespace blink |
| 65 | 65 |
| 66 #endif // V8TestInterfaceDocument_h | 66 #endif // V8TestInterfaceDocument_h |
| OLD | NEW |