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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceEventInitConstructor.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 "V8TestInterfaceEventInitConstructor.h" 8 #include "V8TestInterfaceEventInitConstructor.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 } 78 }
79 RefPtrWillBeRawPtr<TestInterfaceEventInitConstructor> impl = TestInterfaceEv entInitConstructor::create(type, testInterfaceEventInit); 79 RefPtrWillBeRawPtr<TestInterfaceEventInitConstructor> impl = TestInterfaceEv entInitConstructor::create(type, testInterfaceEventInit);
80 v8::Local<v8::Object> wrapper = info.Holder(); 80 v8::Local<v8::Object> wrapper = info.Holder();
81 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventInitConst ructor::wrapperTypeInfo, wrapper); 81 impl->associateWithWrapper(info.GetIsolate(), &V8TestInterfaceEventInitConst ructor::wrapperTypeInfo, wrapper);
82 v8SetReturnValue(info, wrapper); 82 v8SetReturnValue(info, wrapper);
83 } 83 }
84 84
85 } // namespace TestInterfaceEventInitConstructorV8Internal 85 } // namespace TestInterfaceEventInitConstructorV8Internal
86 86
87 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceEventInitC onstructorAccessors[] = { 87 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceEventInitC onstructorAccessors[] = {
88 {"readonlyStringAttribute", TestInterfaceEventInitConstructorV8Internal::rea donlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessC ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration ::CheckHolder}, 88 {"readonlyStringAttribute", TestInterfaceEventInitConstructorV8Internal::rea donlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder},
89 }; 89 };
90 90
91 void V8TestInterfaceEventInitConstructor::constructorCallback(const v8::Function CallbackInfo<v8::Value>& info) 91 void V8TestInterfaceEventInitConstructor::constructorCallback(const v8::Function CallbackInfo<v8::Value>& info)
92 { 92 {
93 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor"); 93 TRACE_EVENT_SCOPED_SAMPLING_STATE("blink", "DOMConstructor");
94 if (!info.IsConstructCall()) { 94 if (!info.IsConstructCall()) {
95 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c onstructorNotCallableAsFunction("TestInterfaceEventInitConstructor")); 95 V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::c onstructorNotCallableAsFunction("TestInterfaceEventInitConstructor"));
96 return; 96 return;
97 } 97 }
98 98
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } 152 }
153 153
154 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra ppable) 154 void V8TestInterfaceEventInitConstructor::derefObject(ScriptWrappable* scriptWra ppable)
155 { 155 {
156 #if !ENABLE(OILPAN) 156 #if !ENABLE(OILPAN)
157 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref(); 157 scriptWrappable->toImpl<TestInterfaceEventInitConstructor>()->deref();
158 #endif 158 #endif
159 } 159 }
160 160
161 } // namespace blink 161 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698