| 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 "V8TestInterface2.h" | 8 #include "V8TestInterface2.h" |
| 9 | 9 |
| 10 #include "RuntimeEnabledFeatures.h" | |
| 11 #include "bindings/tests/v8/V8TestInterface.h" | 10 #include "bindings/tests/v8/V8TestInterface.h" |
| 12 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" | 11 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" |
| 13 #include "bindings/v8/ExceptionState.h" | 12 #include "bindings/v8/ExceptionState.h" |
| 14 #include "bindings/v8/V8DOMConfiguration.h" | 13 #include "bindings/v8/V8DOMConfiguration.h" |
| 15 #include "bindings/v8/V8GCController.h" | 14 #include "bindings/v8/V8GCController.h" |
| 16 #include "bindings/v8/V8HiddenValue.h" | 15 #include "bindings/v8/V8HiddenValue.h" |
| 17 #include "bindings/v8/V8ObjectConstructor.h" | 16 #include "bindings/v8/V8ObjectConstructor.h" |
| 18 #include "core/dom/ContextFeatures.h" | 17 #include "core/dom/ContextFeatures.h" |
| 19 #include "core/dom/Document.h" | 18 #include "core/dom/Document.h" |
| 20 #include "core/dom/Element.h" | 19 #include "core/dom/Element.h" |
| 21 #include "core/frame/DOMWindow.h" | 20 #include "core/frame/DOMWindow.h" |
| 21 #include "platform/RuntimeEnabledFeatures.h" |
| 22 #include "platform/TraceEvent.h" | 22 #include "platform/TraceEvent.h" |
| 23 #include "wtf/GetPtr.h" | 23 #include "wtf/GetPtr.h" |
| 24 #include "wtf/RefPtr.h" | 24 #include "wtf/RefPtr.h" |
| 25 | 25 |
| 26 namespace WebCore { | 26 namespace WebCore { |
| 27 | 27 |
| 28 static void initializeScriptWrappableForInterface(TestInterface2* object) | 28 static void initializeScriptWrappableForInterface(TestInterface2* object) |
| 29 { | 29 { |
| 30 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) | 30 if (ScriptWrappable::wrapperCanBeStoredInObject(object)) |
| 31 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterface2::wrap
perTypeInfo); | 31 ScriptWrappable::fromObject(object)->setTypeInfo(&V8TestInterface2::wrap
perTypeInfo); |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 fromInternalPointer(object)->deref(); | 517 fromInternalPointer(object)->deref(); |
| 518 } | 518 } |
| 519 | 519 |
| 520 template<> | 520 template<> |
| 521 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object>
creationContext, v8::Isolate* isolate) | 521 v8::Handle<v8::Value> toV8NoInline(TestInterface2* impl, v8::Handle<v8::Object>
creationContext, v8::Isolate* isolate) |
| 522 { | 522 { |
| 523 return toV8(impl, creationContext, isolate); | 523 return toV8(impl, creationContext, isolate); |
| 524 } | 524 } |
| 525 | 525 |
| 526 } // namespace WebCore | 526 } // namespace WebCore |
| OLD | NEW |