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

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

Issue 1008353002: bindings: Reduces the binary size by reducing # of callback functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 5 years, 9 months 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 "V8TestInterfaceEventConstructor.h" 8 #include "V8TestInterfaceEventConstructor.h"
9 9
10 #include "bindings/core/v8/Dictionary.h" 10 #include "bindings/core/v8/Dictionary.h"
(...skipping 10 matching lines...) Expand all
21 #include "core/dom/Document.h" 21 #include "core/dom/Document.h"
22 #include "core/frame/LocalDOMWindow.h" 22 #include "core/frame/LocalDOMWindow.h"
23 #include "core/frame/UseCounter.h" 23 #include "core/frame/UseCounter.h"
24 #include "platform/RuntimeEnabledFeatures.h" 24 #include "platform/RuntimeEnabledFeatures.h"
25 #include "platform/TraceEvent.h" 25 #include "platform/TraceEvent.h"
26 #include "wtf/GetPtr.h" 26 #include "wtf/GetPtr.h"
27 #include "wtf/RefPtr.h" 27 #include "wtf/RefPtr.h"
28 28
29 namespace blink { 29 namespace blink {
30 30
31 const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin:: kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEve ntConstructor::refObject, V8TestInterfaceEventConstructor::derefObject, V8TestIn terfaceEventConstructor::trace, 0, 0, V8TestInterfaceEventConstructor::installCo nditionallyEnabledMethods, V8TestInterfaceEventConstructor::installConditionally EnabledProperties, &V8Event::wrapperTypeInfo, WrapperTypeInfo::WrapperTypeObject Prototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventT arget, WrapperTypeInfo::Independent, WrapperTypeInfo::WillBeGarbageCollectedObje ct }; 31 const WrapperTypeInfo V8TestInterfaceEventConstructor::wrapperTypeInfo = { gin:: kEmbedderBlink, V8TestInterfaceEventConstructor::domTemplate, V8TestInterfaceEve ntConstructor::refObject, V8TestInterfaceEventConstructor::derefObject, V8TestIn terfaceEventConstructor::trace, 0, 0, V8TestInterfaceEventConstructor::installCo nditionallyEnabledMethods, V8TestInterfaceEventConstructor::installConditionally EnabledProperties, "TestInterfaceEventConstructor", &V8Event::wrapperTypeInfo, W rapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, Wrap perTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTyp eInfo::WillBeGarbageCollectedObject };
32 32
33 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eEventConstructor.h. 33 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestInterfac eEventConstructor.h.
34 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 34 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
35 // bindings/core/v8/ScriptWrappable.h. 35 // bindings/core/v8/ScriptWrappable.h.
36 const WrapperTypeInfo& TestInterfaceEventConstructor::s_wrapperTypeInfo = V8Test InterfaceEventConstructor::wrapperTypeInfo; 36 const WrapperTypeInfo& TestInterfaceEventConstructor::s_wrapperTypeInfo = V8Test InterfaceEventConstructor::wrapperTypeInfo;
37 37
38 namespace TestInterfaceEventConstructorV8Internal { 38 namespace TestInterfaceEventConstructorV8Internal {
39 39
40 static void readonlyStringAttributeAttributeGetter(const v8::FunctionCallbackInf o<v8::Value>& info) 40 static void readonlyStringAttributeAttributeGetter(const v8::FunctionCallbackInf o<v8::Value>& info)
41 { 41 {
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 } 383 }
384 384
385 void V8TestInterfaceEventConstructor::derefObject(ScriptWrappable* scriptWrappab le) 385 void V8TestInterfaceEventConstructor::derefObject(ScriptWrappable* scriptWrappab le)
386 { 386 {
387 #if !ENABLE(OILPAN) 387 #if !ENABLE(OILPAN)
388 scriptWrappable->toImpl<TestInterfaceEventConstructor>()->deref(); 388 scriptWrappable->toImpl<TestInterfaceEventConstructor>()->deref();
389 #endif 389 #endif
390 } 390 }
391 391
392 } // namespace blink 392 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698