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

Side by Side Diff: Source/bindings/tests/results/core/V8ArrayBufferView.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 "V8ArrayBufferView.h" 8 #include "V8ArrayBufferView.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 13 matching lines...) Expand all
24 #include "bindings/core/v8/V8Uint8ClampedArray.h" 24 #include "bindings/core/v8/V8Uint8ClampedArray.h"
25 #include "core/dom/ContextFeatures.h" 25 #include "core/dom/ContextFeatures.h"
26 #include "core/dom/Document.h" 26 #include "core/dom/Document.h"
27 #include "platform/RuntimeEnabledFeatures.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 blink { 32 namespace blink {
33 33
34 const WrapperTypeInfo V8ArrayBufferView::wrapperTypeInfo = { gin::kEmbedderBlink , 0, V8ArrayBufferView::refObject, V8ArrayBufferView::derefObject, V8ArrayBuffer View::trace, 0, 0, V8ArrayBufferView::installConditionallyEnabledMethods, V8Arra yBufferView::installConditionallyEnabledProperties, 0, WrapperTypeInfo::WrapperT ypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritF romEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; 34 const WrapperTypeInfo V8ArrayBufferView::wrapperTypeInfo = { gin::kEmbedderBlink , 0, V8ArrayBufferView::refObject, V8ArrayBufferView::derefObject, V8ArrayBuffer View::trace, 0, 0, V8ArrayBufferView::installConditionallyEnabledMethods, V8Arra yBufferView::installConditionallyEnabledProperties, "ArrayBufferView", 0, Wrappe rTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTy peInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo ::RefCountedObject };
35 35
36 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestArrayBuf ferView.h. 36 // This static member must be declared by DEFINE_WRAPPERTYPEINFO in TestArrayBuf ferView.h.
37 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in 37 // For details, see the comment of DEFINE_WRAPPERTYPEINFO in
38 // bindings/core/v8/ScriptWrappable.h. 38 // bindings/core/v8/ScriptWrappable.h.
39 const WrapperTypeInfo& TestArrayBufferView::s_wrapperTypeInfo = V8ArrayBufferVie w::wrapperTypeInfo; 39 const WrapperTypeInfo& TestArrayBufferView::s_wrapperTypeInfo = V8ArrayBufferVie w::wrapperTypeInfo;
40 40
41 bool V8ArrayBufferView::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* i solate) 41 bool V8ArrayBufferView::hasInstance(v8::Local<v8::Value> v8Value, v8::Isolate* i solate)
42 { 42 {
43 return v8Value->IsArrayBufferView(); 43 return v8Value->IsArrayBufferView();
44 } 44 }
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 { 84 {
85 scriptWrappable->toImpl<TestArrayBufferView>()->ref(); 85 scriptWrappable->toImpl<TestArrayBufferView>()->ref();
86 } 86 }
87 87
88 void V8ArrayBufferView::derefObject(ScriptWrappable* scriptWrappable) 88 void V8ArrayBufferView::derefObject(ScriptWrappable* scriptWrappable)
89 { 89 {
90 scriptWrappable->toImpl<TestArrayBufferView>()->deref(); 90 scriptWrappable->toImpl<TestArrayBufferView>()->deref();
91 } 91 }
92 92
93 } // namespace blink 93 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8ArrayBuffer.cpp ('k') | Source/bindings/tests/results/core/V8DataView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698