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.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
10 | 10 |
11 // clang-format off | 11 // clang-format off |
12 #include "V8TestInterface.h" | 12 #include "V8TestInterface.h" |
13 | 13 |
14 #include "bindings/core/v8/ExceptionState.h" | 14 #include "bindings/core/v8/ExceptionState.h" |
15 #include "bindings/core/v8/IDLTypes.h" | 15 #include "bindings/core/v8/IDLTypes.h" |
16 #include "bindings/core/v8/NativeValueTraitsImpl.h" | 16 #include "bindings/core/v8/NativeValueTraitsImpl.h" |
17 #include "bindings/core/v8/ScriptPromise.h" | 17 #include "bindings/core/v8/ScriptPromise.h" |
18 #include "bindings/core/v8/ScriptValue.h" | 18 #include "bindings/core/v8/ScriptValue.h" |
19 #include "bindings/core/v8/V8AbstractEventListener.h" | 19 #include "bindings/core/v8/V8AbstractEventListener.h" |
20 #include "bindings/core/v8/V8DOMConfiguration.h" | 20 #include "bindings/core/v8/V8DOMConfiguration.h" |
21 #include "bindings/core/v8/V8EventListenerHelper.h" | 21 #include "bindings/core/v8/V8EventListenerHelper.h" |
22 #include "bindings/core/v8/V8Iterator.h" | 22 #include "bindings/core/v8/V8Iterator.h" |
23 #include "bindings/core/v8/V8Node.h" | 23 #include "bindings/core/v8/V8Node.h" |
24 #include "bindings/core/v8/V8PrivateProperty.h" | |
25 #include "bindings/core/v8/V8TestInterface.h" | 24 #include "bindings/core/v8/V8TestInterface.h" |
26 #include "bindings/core/v8/V8TestInterface2.h" | 25 #include "bindings/core/v8/V8TestInterface2.h" |
27 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 26 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
28 #include "bindings/core/v8/V8Window.h" | 27 #include "bindings/core/v8/V8Window.h" |
29 #include "bindings/tests/idls/core/TestImplements2.h" | 28 #include "bindings/tests/idls/core/TestImplements2.h" |
30 #include "bindings/tests/idls/core/TestImplements3Implementation.h" | 29 #include "bindings/tests/idls/core/TestImplements3Implementation.h" |
31 #include "bindings/tests/idls/core/TestInterfacePartial.h" | 30 #include "bindings/tests/idls/core/TestInterfacePartial.h" |
32 #include "bindings/tests/idls/core/TestInterfacePartial2Implementation.h" | 31 #include "bindings/tests/idls/core/TestInterfacePartial2Implementation.h" |
33 #include "bindings/tests/idls/core/TestInterfacePartialSecureContext.h" | 32 #include "bindings/tests/idls/core/TestInterfacePartialSecureContext.h" |
34 #include "core/dom/ExecutionContext.h" | 33 #include "core/dom/ExecutionContext.h" |
35 #include "core/frame/UseCounter.h" | 34 #include "core/frame/UseCounter.h" |
36 #include "core/inspector/ConsoleMessage.h" | 35 #include "core/inspector/ConsoleMessage.h" |
37 #include "platform/RuntimeEnabledFeatures.h" | 36 #include "platform/RuntimeEnabledFeatures.h" |
38 #include "platform/bindings/ScriptState.h" | 37 #include "platform/bindings/ScriptState.h" |
39 #include "platform/bindings/V8ObjectConstructor.h" | 38 #include "platform/bindings/V8ObjectConstructor.h" |
| 39 #include "platform/bindings/V8PrivateProperty.h" |
40 #include "platform/wtf/GetPtr.h" | 40 #include "platform/wtf/GetPtr.h" |
41 #include "platform/wtf/RefPtr.h" | 41 #include "platform/wtf/RefPtr.h" |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 45 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
46 // and does not depend on another global objects. | 46 // and does not depend on another global objects. |
47 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 47 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
48 #pragma clang diagnostic push | 48 #pragma clang diagnostic push |
49 #pragma clang diagnostic ignored "-Wglobal-constructors" | 49 #pragma clang diagnostic ignored "-Wglobal-constructors" |
(...skipping 3381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3431 | 3431 |
3432 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) { | 3432 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) { |
3433 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInter
face = method; | 3433 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInter
face = method; |
3434 } | 3434 } |
3435 | 3435 |
3436 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) { | 3436 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) { |
3437 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPartia
lInterface = method; | 3437 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPartia
lInterface = method; |
3438 } | 3438 } |
3439 | 3439 |
3440 } // namespace blink | 3440 } // namespace blink |
OLD | NEW |