| 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. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 // clang-format off | 7 // clang-format off |
| 8 #ifndef V8TestInterfacePartial_h | 8 #ifndef V8TestInterfacePartial_h |
| 9 #define V8TestInterfacePartial_h | 9 #define V8TestInterfacePartial_h |
| 10 | 10 |
| 11 #include "bindings/core/v8/ScriptWrappable.h" | 11 #include "bindings/core/v8/ScriptWrappable.h" |
| 12 #include "bindings/core/v8/ToV8.h" | 12 #include "bindings/core/v8/ToV8.h" |
| 13 #include "bindings/core/v8/V8Binding.h" | 13 #include "bindings/core/v8/V8Binding.h" |
| 14 #include "bindings/core/v8/V8DOMWrapper.h" | 14 #include "bindings/core/v8/V8DOMWrapper.h" |
| 15 #include "bindings/core/v8/WrapperTypeInfo.h" | 15 #include "bindings/core/v8/WrapperTypeInfo.h" |
| 16 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" | 16 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" |
| 17 #include "platform/heap/Handle.h" | 17 #include "platform/heap/Handle.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 |
| 20 class ScriptState; | 21 class ScriptState; |
| 21 | 22 |
| 22 class V8TestInterfacePartial { | 23 class V8TestInterfacePartial { |
| 23 STATIC_ONLY(V8TestInterfacePartial); | 24 STATIC_ONLY(V8TestInterfacePartial); |
| 24 public: | 25 public: |
| 25 static void initialize(); | 26 static void initialize(); |
| 26 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac
kInfo<v8::Value>&); | 27 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI
nfo<v8::Value>&); |
| 27 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const
DOMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8:
:FunctionTemplate>); | 28 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D
OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F
unctionTemplate>); |
| 28 | 29 |
| 29 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Obj
ect> instance); | 30 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Objec
t> instance); |
| 30 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperW
orld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Loca
l<v8::Function> interface); | 31 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWor
ld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<
v8::Function> interface); |
| 31 static void installOriginTrialPartialFeature(ScriptState*); | 32 static void installOriginTrialPartialFeature(ScriptState*); |
| 32 private: | 33 private: |
| 33 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWor
ld&, v8::Local<v8::FunctionTemplate> interfaceTemplate); | 34 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld
&, v8::Local<v8::FunctionTemplate> interfaceTemplate); |
| 34 }; | 35 }; |
| 35 } | 36 |
| 36 #endif // V8TestInterfacePartial_h | 37 } // namespace blink |
| 38 |
| 39 #endif // V8TestInterfacePartial_h |
| OLD | NEW |