| 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 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 if (RuntimeEnabledFeatures::interface2PartialFeatureNameEnabled()) { | 90 if (RuntimeEnabledFeatures::interface2PartialFeatureNameEnabled()) { |
| 91 const V8DOMConfiguration::MethodConfiguration voidMethodPartial1MethodConfig
uration = {"voidMethodPartial1", V8TestInterface2Partial::voidMethodPartial1Meth
odCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigur
ation::CheckHolder}; | 91 const V8DOMConfiguration::MethodConfiguration voidMethodPartial1MethodConfig
uration = {"voidMethodPartial1", V8TestInterface2Partial::voidMethodPartial1Meth
odCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfigur
ation::CheckHolder}; |
| 92 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp
eTemplate, interfaceTemplate, signature, voidMethodPartial1MethodConfiguration); | 92 V8DOMConfiguration::installMethod(isolate, world, instanceTemplate, prototyp
eTemplate, interfaceTemplate, signature, voidMethodPartial1MethodConfiguration); |
| 93 } | 93 } |
| 94 } | 94 } |
| 95 | 95 |
| 96 void V8TestInterface2Partial::initialize() { | 96 void V8TestInterface2Partial::initialize() { |
| 97 // Should be invoked from ModulesInitializer. | 97 // Should be invoked from ModulesInitializer. |
| 98 V8TestInterface2::updateWrapperTypeInfo( | 98 V8TestInterface2::updateWrapperTypeInfo( |
| 99 &V8TestInterface2Partial::installV8TestInterface2Template, | 99 &V8TestInterface2Partial::installV8TestInterface2Template, |
| 100 nullptr, |
| 100 nullptr); | 101 nullptr); |
| 101 } | 102 } |
| 102 | 103 |
| 103 } // namespace blink | 104 } // namespace blink |
| OLD | NEW |