| 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 #include "V8TestObject.h" | 8 #include "V8TestObject.h" |
| 9 | 9 |
| 10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
| 11 #include "RuntimeEnabledFeatures.h" | |
| 12 #include "bindings/core/v8/V8HTMLCollection.h" | 11 #include "bindings/core/v8/V8HTMLCollection.h" |
| 13 #include "bindings/tests/v8/V8Attr.h" | 12 #include "bindings/tests/v8/V8Attr.h" |
| 14 #include "bindings/tests/v8/V8Document.h" | 13 #include "bindings/tests/v8/V8Document.h" |
| 15 #include "bindings/tests/v8/V8DocumentFragment.h" | 14 #include "bindings/tests/v8/V8DocumentFragment.h" |
| 16 #include "bindings/tests/v8/V8DocumentType.h" | 15 #include "bindings/tests/v8/V8DocumentType.h" |
| 17 #include "bindings/tests/v8/V8Element.h" | 16 #include "bindings/tests/v8/V8Element.h" |
| 18 #include "bindings/tests/v8/V8EventTarget.h" | 17 #include "bindings/tests/v8/V8EventTarget.h" |
| 19 #include "bindings/tests/v8/V8HTMLElement.h" | 18 #include "bindings/tests/v8/V8HTMLElement.h" |
| 20 #include "bindings/tests/v8/V8Node.h" | 19 #include "bindings/tests/v8/V8Node.h" |
| 21 #include "bindings/tests/v8/V8NodeFilter.h" | 20 #include "bindings/tests/v8/V8NodeFilter.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "core/dom/ContextFeatures.h" | 52 #include "core/dom/ContextFeatures.h" |
| 54 #include "core/dom/Document.h" | 53 #include "core/dom/Document.h" |
| 55 #include "core/dom/TagCollection.h" | 54 #include "core/dom/TagCollection.h" |
| 56 #include "core/dom/custom/CustomElementCallbackDispatcher.h" | 55 #include "core/dom/custom/CustomElementCallbackDispatcher.h" |
| 57 #include "core/frame/DOMWindow.h" | 56 #include "core/frame/DOMWindow.h" |
| 58 #include "core/frame/UseCounter.h" | 57 #include "core/frame/UseCounter.h" |
| 59 #include "core/html/HTMLCollection.h" | 58 #include "core/html/HTMLCollection.h" |
| 60 #include "core/html/HTMLFormControlsCollection.h" | 59 #include "core/html/HTMLFormControlsCollection.h" |
| 61 #include "core/html/HTMLTableRowsCollection.h" | 60 #include "core/html/HTMLTableRowsCollection.h" |
| 62 #include "core/inspector/ScriptArguments.h" | 61 #include "core/inspector/ScriptArguments.h" |
| 62 #include "platform/RuntimeEnabledFeatures.h" |
| 63 #include "platform/TraceEvent.h" | 63 #include "platform/TraceEvent.h" |
| 64 #include "wtf/GetPtr.h" | 64 #include "wtf/GetPtr.h" |
| 65 #include "wtf/RefPtr.h" | 65 #include "wtf/RefPtr.h" |
| 66 | 66 |
| 67 namespace WebCore { | 67 namespace WebCore { |
| 68 | 68 |
| 69 static void initializeScriptWrappableForInterface(TestObject* object) | 69 static void initializeScriptWrappableForInterface(TestObject* object) |
| 70 { | 70 { |
| 71 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 71 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 72 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestObject::wrapperT
ypeInfo); | 72 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestObject::wrapperT
ypeInfo); |
| (...skipping 9873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9946 fromInternalPointer(object)->deref(); | 9946 fromInternalPointer(object)->deref(); |
| 9947 } | 9947 } |
| 9948 | 9948 |
| 9949 template<> | 9949 template<> |
| 9950 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 9950 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
| 9951 { | 9951 { |
| 9952 return toV8(impl, creationContext, isolate); | 9952 return toV8(impl, creationContext, isolate); |
| 9953 } | 9953 } |
| 9954 | 9954 |
| 9955 } // namespace WebCore | 9955 } // namespace WebCore |
| OLD | NEW |