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

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

Issue 542113003: bindings: Introduces ScriptWrappable::associateWithWrapper in addition to wrap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 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 "V8TestNode.h" 8 #include "V8TestNode.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 { 149 {
150 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 150 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
151 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info); 151 TestNodeV8Internal::hrefByteStringAttributeSetter(v8Value, info);
152 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 152 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
153 } 153 }
154 154
155 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) 155 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
156 { 156 {
157 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create(); 157 RefPtrWillBeRawPtr<TestNode> impl = TestNode::create();
158 v8::Handle<v8::Object> wrapper = info.Holder(); 158 v8::Handle<v8::Object> wrapper = info.Holder();
159 V8DOMWrapper::associateObjectWithWrapper<V8TestNode>(impl.release(), &V8Test Node::wrapperTypeInfo, wrapper, info.GetIsolate()); 159 impl->associateWithWrapper(&V8TestNode::wrapperTypeInfo, wrapper, info.GetIs olate());
160 v8SetReturnValue(info, wrapper); 160 v8SetReturnValue(info, wrapper);
161 } 161 }
162 162
163 } // namespace TestNodeV8Internal 163 } // namespace TestNodeV8Internal
164 164
165 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] = { 165 static const V8DOMConfiguration::AttributeConfiguration V8TestNodeAttributes[] = {
166 {"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}, 166 {"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},
167 {"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}, 167 {"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},
168 {"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}, 168 {"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},
169 {"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}, 169 {"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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 #endif 254 #endif
255 } 255 }
256 256
257 template<> 257 template<>
258 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati onContext, v8::Isolate* isolate) 258 v8::Handle<v8::Value> toV8NoInline(TestNode* impl, v8::Handle<v8::Object> creati onContext, v8::Isolate* isolate)
259 { 259 {
260 return toV8(impl, creationContext, isolate); 260 return toV8(impl, creationContext, isolate);
261 } 261 }
262 262
263 } // namespace blink 263 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698