| // Copyright 2014 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // This file has been auto-generated from the Jinja2 template |
| // third_party/blink/renderer/bindings/templates/partial_interface.h.tmpl |
| // by the script code_generator_v8.py. |
| // DO NOT MODIFY! |
| |
| // clang-format off |
| #ifndef THIRD_PARTY_BLINK_RENDERER_BINDINGS_TESTS_RESULTS_MODULES_V8_TEST_INTERFACE_PARTIAL_H_ |
| #define THIRD_PARTY_BLINK_RENDERER_BINDINGS_TESTS_RESULTS_MODULES_V8_TEST_INTERFACE_PARTIAL_H_ |
| |
| #include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h" |
| #include "third_party/blink/renderer/bindings/core/v8/native_value_traits.h" |
| #include "third_party/blink/renderer/bindings/core/v8/to_v8_for_core.h" |
| #include "third_party/blink/renderer/bindings/core/v8/unsigned_long_long_or_boolean_or_test_callback_interface.h" |
| #include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h" |
| #include "third_party/blink/renderer/bindings/tests/idls/core/test_interface_implementation.h" |
| #include "third_party/blink/renderer/platform/bindings/script_wrappable.h" |
| #include "third_party/blink/renderer/platform/bindings/v8_dom_wrapper.h" |
| #include "third_party/blink/renderer/platform/bindings/wrapper_type_info.h" |
| #include "third_party/blink/renderer/platform/heap/handle.h" |
| |
| namespace blink { |
| |
| class ScriptState; |
| |
| class V8TestInterfacePartial { |
| STATIC_ONLY(V8TestInterfacePartial); |
| public: |
| static void Initialize(); |
| static void MixinCustomVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
| static void InstallConditionalFeatures( |
| v8::Local<v8::Context>, |
| const DOMWrapperWorld&, |
| v8::Local<v8::Object> instance, |
| v8::Local<v8::Object> prototype, |
| v8::Local<v8::Function> interface, |
| v8::Local<v8::FunctionTemplate> interface_template); |
| |
| static void InstallOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Object> instance); |
| static void InstallOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local<v8::Function> interface); |
| static void InstallOriginTrialPartialFeature(ScriptState*); |
| |
| static void InstallRuntimeEnabledFeaturesOnTemplate( |
| v8::Isolate*, |
| const DOMWrapperWorld&, |
| v8::Local<v8::FunctionTemplate> interface_template); |
| |
| // Callback functions |
| static void Partial4LongAttributeAttributeGetterCallback( const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void Partial4LongAttributeAttributeSetterCallback( const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void Partial4StaticLongAttributeAttributeGetterCallback( const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void Partial4StaticLongAttributeAttributeSetterCallback( const v8::FunctionCallbackInfo<v8::Value>& info); |
| |
| static void PartialVoidTestEnumModulesArgMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void Partial2VoidTestEnumModulesRecordMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void UnscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void UnionWithTypedefMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void Partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info); |
| static void Partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info); |
| |
| private: |
| static void InstallV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld&, v8::Local<v8::FunctionTemplate> interface_template); |
| }; |
| |
| } // namespace blink |
| |
| #endif // THIRD_PARTY_BLINK_RENDERER_BINDINGS_TESTS_RESULTS_MODULES_V8_TEST_INTERFACE_PARTIAL_H_ |