| 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/partial_interface.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/partial_interface.cpp.tmpl |
| 10 | 10 |
| 11 // clang-format off | 11 // clang-format off |
| 12 #include "V8TestInterface2Partial.h" | 12 #include "V8TestInterface2Partial.h" |
| 13 | 13 |
| 14 #include "bindings/core/v8/ExceptionState.h" | 14 #include "bindings/core/v8/ExceptionState.h" |
| 15 #include "bindings/core/v8/GeneratedCodeHelper.h" | 15 #include "bindings/core/v8/GeneratedCodeHelper.h" |
| 16 #include "bindings/core/v8/V8DOMConfiguration.h" | 16 #include "bindings/core/v8/V8DOMConfiguration.h" |
| 17 #include "bindings/core/v8/V8GCController.h" | |
| 18 #include "bindings/core/v8/V8ObjectConstructor.h" | 17 #include "bindings/core/v8/V8ObjectConstructor.h" |
| 19 #include "bindings/core/v8/V8TestInterface2.h" | 18 #include "bindings/core/v8/V8TestInterface2.h" |
| 20 #include "bindings/tests/idls/modules/TestInterface2Partial.h" | 19 #include "bindings/tests/idls/modules/TestInterface2Partial.h" |
| 21 #include "bindings/tests/idls/modules/TestInterface2Partial2.h" | 20 #include "bindings/tests/idls/modules/TestInterface2Partial2.h" |
| 22 #include "core/dom/Document.h" | 21 #include "core/dom/Document.h" |
| 23 #include "core/dom/Element.h" | |
| 24 #include "platform/RuntimeEnabledFeatures.h" | 22 #include "platform/RuntimeEnabledFeatures.h" |
| 25 #include "wtf/GetPtr.h" | 23 #include "wtf/GetPtr.h" |
| 26 #include "wtf/RefPtr.h" | 24 #include "wtf/RefPtr.h" |
| 27 | 25 |
| 28 namespace blink { | 26 namespace blink { |
| 29 | 27 |
| 30 namespace TestInterface2PartialV8Internal { | 28 namespace TestInterface2PartialV8Internal { |
| 31 | 29 |
| 32 static void voidMethodPartial1Method(const v8::FunctionCallbackInfo<v8::Value>&
info) { | 30 static void voidMethodPartial1Method(const v8::FunctionCallbackInfo<v8::Value>&
info) { |
| 33 TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); | 31 TestInterface2* impl = V8TestInterface2::toImpl(info.Holder()); |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 } | 94 } |
| 97 | 95 |
| 98 void V8TestInterface2Partial::initialize() { | 96 void V8TestInterface2Partial::initialize() { |
| 99 // Should be invoked from ModulesInitializer. | 97 // Should be invoked from ModulesInitializer. |
| 100 V8TestInterface2::updateWrapperTypeInfo( | 98 V8TestInterface2::updateWrapperTypeInfo( |
| 101 &V8TestInterface2Partial::installV8TestInterface2Template, | 99 &V8TestInterface2Partial::installV8TestInterface2Template, |
| 102 nullptr); | 100 nullptr); |
| 103 } | 101 } |
| 104 | 102 |
| 105 } // namespace blink | 103 } // namespace blink |
| OLD | NEW |