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

Side by Side Diff: Source/bindings/tests/results/V8TestSpecialOperationsCustom.cpp

Issue 214283002: Bindings: rename |jsValue| => |v8Value| (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Reupload Created 6 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 "V8TestSpecialOperationsCustom.h" 8 #include "V8TestSpecialOperationsCustom.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 template <typename T> void V8_USE(T) { } 44 template <typename T> void V8_USE(T) { }
45 45
46 static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCall backInfo<v8::Value>& info) 46 static void indexedPropertyGetterCallback(uint32_t index, const v8::PropertyCall backInfo<v8::Value>& info)
47 { 47 {
48 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty"); 48 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty");
49 V8TestSpecialOperationsCustom::indexedPropertyGetterCustom(index, info); 49 V8TestSpecialOperationsCustom::indexedPropertyGetterCustom(index, info);
50 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 50 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
51 } 51 }
52 52
53 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> j sValue, const v8::PropertyCallbackInfo<v8::Value>& info) 53 static void indexedPropertySetterCallback(uint32_t index, v8::Local<v8::Value> v 8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
54 { 54 {
55 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty"); 55 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty");
56 V8TestSpecialOperationsCustom::indexedPropertySetterCustom(index, jsValue, i nfo); 56 V8TestSpecialOperationsCustom::indexedPropertySetterCustom(index, v8Value, i nfo);
57 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 57 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
58 } 58 }
59 59
60 static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal lbackInfo<v8::Boolean>& info) 60 static void indexedPropertyDeleterCallback(uint32_t index, const v8::PropertyCal lbackInfo<v8::Boolean>& info)
61 { 61 {
62 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty"); 62 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMIndexedProperty");
63 V8TestSpecialOperationsCustom::indexedPropertyDeleterCustom(index, info); 63 V8TestSpecialOperationsCustom::indexedPropertyDeleterCustom(index, info);
64 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 64 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
65 } 65 }
66 66
67 static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::Pr opertyCallbackInfo<v8::Value>& info) 67 static void namedPropertyGetterCallback(v8::Local<v8::String> name, const v8::Pr opertyCallbackInfo<v8::Value>& info)
68 { 68 {
69 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty"); 69 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
70 V8TestSpecialOperationsCustom::namedPropertyGetterCustom(name, info); 70 V8TestSpecialOperationsCustom::namedPropertyGetterCustom(name, info);
71 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 71 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
72 } 72 }
73 73
74 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8 ::Value> jsValue, const v8::PropertyCallbackInfo<v8::Value>& info) 74 static void namedPropertySetterCallback(v8::Local<v8::String> name, v8::Local<v8 ::Value> v8Value, const v8::PropertyCallbackInfo<v8::Value>& info)
75 { 75 {
76 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty"); 76 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
77 V8TestSpecialOperationsCustom::namedPropertySetterCustom(name, jsValue, info ); 77 V8TestSpecialOperationsCustom::namedPropertySetterCustom(name, v8Value, info );
78 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 78 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
79 } 79 }
80 80
81 static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::Pro pertyCallbackInfo<v8::Integer>& info) 81 static void namedPropertyQueryCallback(v8::Local<v8::String> name, const v8::Pro pertyCallbackInfo<v8::Integer>& info)
82 { 82 {
83 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty"); 83 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMNamedProperty");
84 V8TestSpecialOperationsCustom::namedPropertyQueryCustom(name, info); 84 V8TestSpecialOperationsCustom::namedPropertyQueryCustom(name, info);
85 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 85 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
86 } 86 }
87 87
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 if (!result.IsEmpty()) 127 if (!result.IsEmpty())
128 return result; 128 return result;
129 129
130 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate"); 130 TRACE_EVENT_SCOPED_SAMPLING_STATE("Blink", "BuildDOMTemplate");
131 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode); 131 result = v8::FunctionTemplate::New(isolate, V8ObjectConstructor::isValidCons tructorMode);
132 configureV8TestSpecialOperationsCustomTemplate(result, isolate); 132 configureV8TestSpecialOperationsCustomTemplate(result, isolate);
133 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ; 133 data->setDOMTemplate(const_cast<WrapperTypeInfo*>(&wrapperTypeInfo), result) ;
134 return result; 134 return result;
135 } 135 }
136 136
137 bool V8TestSpecialOperationsCustom::hasInstance(v8::Handle<v8::Value> jsValue, v 8::Isolate* isolate) 137 bool V8TestSpecialOperationsCustom::hasInstance(v8::Handle<v8::Value> v8Value, v 8::Isolate* isolate)
138 { 138 {
139 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValu e); 139 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, v8Valu e);
140 } 140 }
141 141
142 v8::Handle<v8::Object> V8TestSpecialOperationsCustom::findInstanceInPrototypeCha in(v8::Handle<v8::Value> jsValue, v8::Isolate* isolate) 142 v8::Handle<v8::Object> V8TestSpecialOperationsCustom::findInstanceInPrototypeCha in(v8::Handle<v8::Value> v8Value, v8::Isolate* isolate)
143 { 143 {
144 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, jsValue); 144 return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrappe rTypeInfo, v8Value);
145 } 145 }
146 146
147 TestSpecialOperationsCustom* V8TestSpecialOperationsCustom::toNativeWithTypeChec k(v8::Isolate* isolate, v8::Handle<v8::Value> value) 147 TestSpecialOperationsCustom* V8TestSpecialOperationsCustom::toNativeWithTypeChec k(v8::Isolate* isolate, v8::Handle<v8::Value> value)
148 { 148 {
149 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; 149 return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Obje ct>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0;
150 } 150 }
151 151
152 v8::Handle<v8::Object> V8TestSpecialOperationsCustom::createWrapper(PassRefPtr<T estSpecialOperationsCustom> impl, v8::Handle<v8::Object> creationContext, v8::Is olate* isolate) 152 v8::Handle<v8::Object> V8TestSpecialOperationsCustom::createWrapper(PassRefPtr<T estSpecialOperationsCustom> impl, v8::Handle<v8::Object> creationContext, v8::Is olate* isolate)
153 { 153 {
154 ASSERT(impl); 154 ASSERT(impl);
(...skipping 19 matching lines...) Expand all
174 fromInternalPointer(object)->deref(); 174 fromInternalPointer(object)->deref();
175 } 175 }
176 176
177 template<> 177 template<>
178 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsCustom* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate) 178 v8::Handle<v8::Value> toV8NoInline(TestSpecialOperationsCustom* impl, v8::Handle <v8::Object> creationContext, v8::Isolate* isolate)
179 { 179 {
180 return toV8(impl, creationContext, isolate); 180 return toV8(impl, creationContext, isolate);
181 } 181 }
182 182
183 } // namespace WebCore 183 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698