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

Side by Side Diff: Source/bindings/tests/results/core/V8TestException.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 "V8TestException.h" 8 #include "V8TestException.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo) 74 static void toStringMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& in fo)
75 { 75 {
76 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); 76 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod");
77 TestExceptionV8Internal::toStringMethod(info); 77 TestExceptionV8Internal::toStringMethod(info);
78 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 78 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
79 } 79 }
80 80
81 } // namespace TestExceptionV8Internal 81 } // namespace TestExceptionV8Internal
82 82
83 static const V8DOMConfiguration::AccessorConfiguration V8TestExceptionAccessors[ ] = { 83 static const V8DOMConfiguration::AccessorConfiguration V8TestExceptionAccessors[ ] = {
84 {"readonlyUnsignedShortAttribute", TestExceptionV8Internal::readonlyUnsigned ShortAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration ::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Chec kHolder}, 84 {"readonlyUnsignedShortAttribute", TestExceptionV8Internal::readonlyUnsigned ShortAttributeAttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8:: PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf iguration::OnPrototype, V8DOMConfiguration::CheckHolder},
85 {"readonlyStringAttribute", TestExceptionV8Internal::readonlyStringAttribute AttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, 85 {"readonlyStringAttribute", TestExceptionV8Internal::readonlyStringAttribute AttributeGetterCallback, 0, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttrib ute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype, V8DOMConfiguration::CheckHolder},
86 }; 86 };
87 87
88 static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct ionTemplate, v8::Isolate* isolate) 88 static void installV8TestExceptionTemplate(v8::Local<v8::FunctionTemplate> funct ionTemplate, v8::Isolate* isolate)
89 { 89 {
90 functionTemplate->ReadOnlyPrototype(); 90 functionTemplate->ReadOnlyPrototype();
91 91
92 v8::Local<v8::Signature> defaultSignature; 92 v8::Local<v8::Signature> defaultSignature;
93 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestException", v8::Local<v8::FunctionTemplate>(), V8TestExceptio n::internalFieldCount, 93 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestException", v8::Local<v8::FunctionTemplate>(), V8TestExceptio n::internalFieldCount,
94 0, 0, 94 0, 0,
95 V8TestExceptionAccessors, WTF_ARRAY_LENGTH(V8TestExceptionAccessors), 95 V8TestExceptionAccessors, WTF_ARRAY_LENGTH(V8TestExceptionAccessors),
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 { 135 {
136 scriptWrappable->toImpl<TestException>()->ref(); 136 scriptWrappable->toImpl<TestException>()->ref();
137 } 137 }
138 138
139 void V8TestException::derefObject(ScriptWrappable* scriptWrappable) 139 void V8TestException::derefObject(ScriptWrappable* scriptWrappable)
140 { 140 {
141 scriptWrappable->toImpl<TestException>()->deref(); 141 scriptWrappable->toImpl<TestException>()->deref();
142 } 142 }
143 143
144 } // namespace blink 144 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/V8SVGTestInterface.cpp ('k') | Source/bindings/tests/results/core/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698