Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: Source/bindings/tests/results/core/V8TestSpecialOperations.cpp

Issue 725163002: bindings: Retires V8T::toEventTarget and reduces the binary size. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Made bitfields be type of unsigned to support both of MSVC and Android. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "V8TestSpecialOperations.h" 8 #include "V8TestSpecialOperations.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
11 #include "bindings/core/v8/UnionTypesCore.h" 11 #include "bindings/core/v8/UnionTypesCore.h"
12 #include "bindings/core/v8/V8DOMConfiguration.h" 12 #include "bindings/core/v8/V8DOMConfiguration.h"
13 #include "bindings/core/v8/V8HiddenValue.h" 13 #include "bindings/core/v8/V8HiddenValue.h"
14 #include "bindings/core/v8/V8Node.h" 14 #include "bindings/core/v8/V8Node.h"
15 #include "bindings/core/v8/V8NodeList.h" 15 #include "bindings/core/v8/V8NodeList.h"
16 #include "bindings/core/v8/V8ObjectConstructor.h" 16 #include "bindings/core/v8/V8ObjectConstructor.h"
17 #include "core/dom/ContextFeatures.h" 17 #include "core/dom/ContextFeatures.h"
18 #include "core/dom/Document.h" 18 #include "core/dom/Document.h"
19 #include "core/dom/NameNodeList.h" 19 #include "core/dom/NameNodeList.h"
20 #include "core/dom/NodeList.h" 20 #include "core/dom/NodeList.h"
21 #include "core/dom/StaticNodeList.h" 21 #include "core/dom/StaticNodeList.h"
22 #include "core/html/LabelsNodeList.h" 22 #include "core/html/LabelsNodeList.h"
23 #include "platform/RuntimeEnabledFeatures.h" 23 #include "platform/RuntimeEnabledFeatures.h"
24 #include "platform/TraceEvent.h" 24 #include "platform/TraceEvent.h"
25 #include "wtf/GetPtr.h" 25 #include "wtf/GetPtr.h"
26 #include "wtf/RefPtr.h" 26 #include "wtf/RefPtr.h"
27 27
28 namespace blink { 28 namespace blink {
29 29
30 const WrapperTypeInfo V8TestSpecialOperations::wrapperTypeInfo = { gin::kEmbedde rBlink, V8TestSpecialOperations::domTemplate, V8TestSpecialOperations::refObject , V8TestSpecialOperations::derefObject, V8TestSpecialOperations::trace, 0, 0, 0, V8TestSpecialOperations::installConditionallyEnabledMethods, V8TestSpecialOpera tions::installConditionallyEnabledProperties, 0, WrapperTypeInfo::WrapperTypeObj ectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::Independent, Wrap perTypeInfo::RefCountedObject }; 30 const WrapperTypeInfo V8TestSpecialOperations::wrapperTypeInfo = { gin::kEmbedde rBlink, V8TestSpecialOperations::domTemplate, V8TestSpecialOperations::refObject , V8TestSpecialOperations::derefObject, V8TestSpecialOperations::trace, 0, 0, V8 TestSpecialOperations::installConditionallyEnabledMethods, V8TestSpecialOperatio ns::installConditionallyEnabledProperties, 0, WrapperTypeInfo::WrapperTypeObject Prototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventT arget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject };
31 31
32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO perations.h. 32 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestSpecialO perations.h.
33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 33 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
34 // bindings/core/v8/ScriptWrappable.h. 34 // bindings/core/v8/ScriptWrappable.h.
35 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO perations::wrapperTypeInfo; 35 const WrapperTypeInfo& TestSpecialOperations::s_wrapperTypeInfo = V8TestSpecialO perations::wrapperTypeInfo;
36 36
37 namespace TestSpecialOperationsV8Internal { 37 namespace TestSpecialOperationsV8Internal {
38 38
39 static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) 39 static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
40 { 40 {
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 scriptWrappableBase->toImpl<TestSpecialOperations>()->deref(); 193 scriptWrappableBase->toImpl<TestSpecialOperations>()->deref();
194 } 194 }
195 195
196 template<> 196 template<>
197 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O bject> creationContext, v8::Isolate* isolate) 197 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperations* impl, v8::Handle<v8::O bject> creationContext, v8::Isolate* isolate)
198 { 198 {
199 return toV8(impl, creationContext, isolate); 199 return toV8(impl, creationContext, isolate);
200 } 200 }
201 201
202 } // namespace blink 202 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698