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

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

Issue 698023005: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 "V8TestNode.h" 8 #include "V8TestNode.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 { 147 {
148 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 148 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
149 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info); 149 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info);
150 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 150 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
151 } 151 }
152 152
153 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) 153 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
154 { 154 {
155 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create(); 155 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create();
156 v8::Handle<v8::Object> wrapper = info.Holder(); 156 v8::Handle<v8::Object> wrapper = info.Holder();
157 impl->associateWithWrapper(&V8TestNode::wrapperTypeInfo, wrapper, info.GetIs olate()); 157 impl->associateWithWrapper(info.GetIsolate(), &V8TestNode::wrapperTypeInfo, wrapper);
158 v8SetReturnValue(info, wrapper); 158 v8SetReturnValue(info, wrapper);
159 } 159 }
160 160
161 } // namespace TestNodeV8Internal 161 } // namespace TestNodeV8Internal
162 162
163 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] = { 163 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] = {
164 {"href", TestNodeV8Internal::hrefAttributeGetterCallback, TestNodeV8Internal ::hrefAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAU LT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedTo AllScripts, V8DOMConfiguration::OnInstance}, 164 {"href", TestNodeV8Internal::hrefAttributeGetterCallback, TestNodeV8Internal ::hrefAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAU LT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedTo AllScripts, V8DOMConfiguration::OnInstance},
165 {"hrefThrows", TestNodeV8Internal::hrefThrowsAttributeGetterCallback, TestNo deV8Internal::hrefThrowsAttributeSetterCallback, 0, 0, 0, static_cast<v8::Access Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig uration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 165 {"hrefThrows", TestNodeV8Internal::hrefThrowsAttributeGetterCallback, TestNo deV8Internal::hrefThrowsAttributeSetterCallback, 0, 0, 0, static_cast<v8::Access Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfig uration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
166 {"hrefCallWith", TestNodeV8Internal::hrefCallWithAttributeGetterCallback, Te stNodeV8Internal::hrefCallWithAttributeSetterCallback, 0, 0, 0, static_cast<v8:: AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 166 {"hrefCallWith", TestNodeV8Internal::hrefCallWithAttributeGetterCallback, Te stNodeV8Internal::hrefCallWithAttributeSetterCallback, 0, 0, 0, static_cast<v8:: AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
167 {"hrefByteString", TestNodeV8Internal::hrefByteStringAttributeGetterCallback , TestNodeV8Internal::hrefByteStringAttributeSetterCallback, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, 167 {"hrefByteString", TestNodeV8Internal::hrefByteStringAttributeGetterCallback , TestNodeV8Internal::hrefByteStringAttributeSetterCallback, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance},
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 #endif 238 #endif
239 } 239 }
240 240
241 template<> 241 template<>
242 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati onContext, v8::Isolate* isolate) 242 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati onContext, v8::Isolate* isolate)
243 { 243 {
244 return toV8(impl, creationContext, isolate); 244 return toV8(impl, creationContext, isolate);
245 } 245 }
246 246
247 } // namespace blink 247 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698