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

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

Issue 1193793003: bindings: Makes almost all attributes accessor-type properties. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 5 years, 5 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 "V8SVGTestInterface.h" 8 #include "V8SVGTestInterface.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 v8::Local<v8::Value> v8Value = info[0]; 69 v8::Local<v8::Value> v8Value = info[0];
70 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 70 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
71 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope; 71 CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
72 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info); 72 SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
73 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 73 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
74 } 74 }
75 75
76 } // namespace SVGTestInterfaceV8Internal 76 } // namespace SVGTestInterfaceV8Internal
77 77
78 static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccesso rs[] = { 78 static const V8DOMConfiguration::AccessorConfiguration V8SVGTestInterfaceAccesso rs[] = {
79 {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInt erfaceV8Internal::typeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigur ation::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration: :CheckHolder}, 79 {"type", SVGTestInterfaceV8Internal::typeAttributeGetterCallback, SVGTestInt erfaceV8Internal::typeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast <v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DO MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
80 }; 80 };
81 81
82 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu nctionTemplate, v8::Isolate* isolate) 82 static void installV8SVGTestInterfaceTemplate(v8::Local<v8::FunctionTemplate> fu nctionTemplate, v8::Isolate* isolate)
83 { 83 {
84 functionTemplate->ReadOnlyPrototype(); 84 functionTemplate->ReadOnlyPrototype();
85 85
86 v8::Local<v8::Signature> defaultSignature; 86 v8::Local<v8::Signature> defaultSignature;
87 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn terface::internalFieldCount, 87 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "SVGTestInterface", v8::Local<v8::FunctionTemplate>(), V8SVGTestIn terface::internalFieldCount,
88 0, 0, 88 0, 0,
89 V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessor s), 89 V8SVGTestInterfaceAccessors, WTF_ARRAY_LENGTH(V8SVGTestInterfaceAccessor s),
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 { 121 {
122 scriptWrappable->toImpl<SVGTestInterface>()->ref(); 122 scriptWrappable->toImpl<SVGTestInterface>()->ref();
123 } 123 }
124 124
125 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable) 125 void V8SVGTestInterface::derefObject(ScriptWrappable* scriptWrappable)
126 { 126 {
127 scriptWrappable->toImpl<SVGTestInterface>()->deref(); 127 scriptWrappable->toImpl<SVGTestInterface>()->deref();
128 } 128 }
129 129
130 } // namespace blink 130 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/templates/interface_base.cpp ('k') | Source/bindings/tests/results/core/V8TestException.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698