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 #include "config.h" | 7 #include "config.h" |
8 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
9 #include "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
10 | 10 |
11 #include "RuntimeEnabledFeatures.h" | |
12 #include "bindings/tests/idls/TestImplements2.h" | 11 #include "bindings/tests/idls/TestImplements2.h" |
13 #include "bindings/tests/idls/TestImplements3Implementation.h" | 12 #include "bindings/tests/idls/TestImplements3Implementation.h" |
14 #include "bindings/tests/idls/TestPartialInterface.h" | 13 #include "bindings/tests/idls/TestPartialInterface.h" |
15 #include "bindings/tests/idls/TestPartialInterfaceImplementation.h" | 14 #include "bindings/tests/idls/TestPartialInterfaceImplementation.h" |
16 #include "bindings/tests/v8/V8Node.h" | 15 #include "bindings/tests/v8/V8Node.h" |
17 #include "bindings/tests/v8/V8TestInterface.h" | 16 #include "bindings/tests/v8/V8TestInterface.h" |
18 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 17 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" |
19 #include "bindings/v8/ExceptionState.h" | 18 #include "bindings/v8/ExceptionState.h" |
20 #include "bindings/v8/ScriptValue.h" | 19 #include "bindings/v8/ScriptValue.h" |
21 #include "bindings/v8/V8AbstractEventListener.h" | 20 #include "bindings/v8/V8AbstractEventListener.h" |
22 #include "bindings/v8/V8DOMConfiguration.h" | 21 #include "bindings/v8/V8DOMConfiguration.h" |
23 #include "bindings/v8/V8EventListenerList.h" | 22 #include "bindings/v8/V8EventListenerList.h" |
24 #include "bindings/v8/V8HiddenValue.h" | 23 #include "bindings/v8/V8HiddenValue.h" |
25 #include "bindings/v8/V8ObjectConstructor.h" | 24 #include "bindings/v8/V8ObjectConstructor.h" |
26 #include "core/dom/ContextFeatures.h" | 25 #include "core/dom/ContextFeatures.h" |
27 #include "core/dom/Document.h" | 26 #include "core/dom/Document.h" |
| 27 #include "platform/RuntimeEnabledFeatures.h" |
28 #include "platform/TraceEvent.h" | 28 #include "platform/TraceEvent.h" |
29 #include "wtf/GetPtr.h" | 29 #include "wtf/GetPtr.h" |
30 #include "wtf/RefPtr.h" | 30 #include "wtf/RefPtr.h" |
31 | 31 |
32 namespace WebCore { | 32 namespace WebCore { |
33 | 33 |
34 static void initializeScriptWrappableForInterface(TestInterfaceImplementation* o
bject) | 34 static void initializeScriptWrappableForInterface(TestInterfaceImplementation* o
bject) |
35 { | 35 { |
36 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 36 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
37 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterface::wrapp
erTypeInfo); | 37 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterface::wrapp
erTypeInfo); |
(...skipping 1469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1507 } | 1507 } |
1508 | 1508 |
1509 template<> | 1509 template<> |
1510 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) | 1510 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) |
1511 { | 1511 { |
1512 return toV8(impl, creationContext, isolate); | 1512 return toV8(impl, creationContext, isolate); |
1513 } | 1513 } |
1514 | 1514 |
1515 } // namespace WebCore | 1515 } // namespace WebCore |
1516 #endif // ENABLE(CONDITION) | 1516 #endif // ENABLE(CONDITION) |
OLD | NEW |