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 "V8TestInterfaceNamedConstructor.h" | 12 #include "V8TestInterfaceNamedConstructor.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/V8DOMConfiguration.h" | 17 #include "bindings/core/v8/V8DOMConfiguration.h" |
18 #include "bindings/core/v8/V8PrivateProperty.h" | |
19 #include "core/dom/Document.h" | 18 #include "core/dom/Document.h" |
20 #include "core/dom/ExecutionContext.h" | 19 #include "core/dom/ExecutionContext.h" |
21 #include "core/frame/LocalDOMWindow.h" | 20 #include "core/frame/LocalDOMWindow.h" |
22 #include "platform/bindings/V8ObjectConstructor.h" | 21 #include "platform/bindings/V8ObjectConstructor.h" |
| 22 #include "platform/bindings/V8PrivateProperty.h" |
23 #include "platform/wtf/GetPtr.h" | 23 #include "platform/wtf/GetPtr.h" |
24 #include "platform/wtf/RefPtr.h" | 24 #include "platform/wtf/RefPtr.h" |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 | 27 |
28 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial | 28 // Suppress warning: global constructors, because struct WrapperTypeInfo is triv
ial |
29 // and does not depend on another global objects. | 29 // and does not depend on another global objects. |
30 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 30 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
31 #pragma clang diagnostic push | 31 #pragma clang diagnostic push |
32 #pragma clang diagnostic ignored "-Wglobal-constructors" | 32 #pragma clang diagnostic ignored "-Wglobal-constructors" |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 TestInterfaceNamedConstructor* NativeValueTraits<TestInterfaceNamedConstructor>:
:NativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& e
xceptionState) { | 239 TestInterfaceNamedConstructor* NativeValueTraits<TestInterfaceNamedConstructor>:
:NativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& e
xceptionState) { |
240 TestInterfaceNamedConstructor* nativeValue = V8TestInterfaceNamedConstructor::
toImplWithTypeCheck(isolate, value); | 240 TestInterfaceNamedConstructor* nativeValue = V8TestInterfaceNamedConstructor::
toImplWithTypeCheck(isolate, value); |
241 if (!nativeValue) { | 241 if (!nativeValue) { |
242 exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue( | 242 exceptionState.ThrowTypeError(ExceptionMessages::FailedToConvertJSValue( |
243 "TestInterfaceNamedConstructor")); | 243 "TestInterfaceNamedConstructor")); |
244 } | 244 } |
245 return nativeValue; | 245 return nativeValue; |
246 } | 246 } |
247 | 247 |
248 } // namespace blink | 248 } // namespace blink |
OLD | NEW |