Chromium Code Reviews

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

Issue 14244017: Make length property return useful values for DOM bindings functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make length property return useful values for DOM bindings functions and interfaces Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 /* 1 /*
2 This file is part of the WebKit open source project. 2 This file is part of the WebKit open source project.
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! 3 This file has been generated by generate-bindings.pl. DO NOT MODIFY!
4 4
5 This library is free software; you can redistribute it and/or 5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public 6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either 7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version. 8 version 2 of the License, or (at your option) any later version.
9 9
10 This library is distributed in the hope that it will be useful, 10 This library is distributed in the hope that it will be useful,
(...skipping 71 matching lines...)
82 } 82 }
83 83
84 static v8::Handle<v8::Value> methodMethodCallback(const v8::Arguments& args) 84 static v8::Handle<v8::Value> methodMethodCallback(const v8::Arguments& args)
85 { 85 {
86 return TestMediaQueryListListenerV8Internal::methodMethod(args); 86 return TestMediaQueryListListenerV8Internal::methodMethod(args);
87 } 87 }
88 88
89 } // namespace TestMediaQueryListListenerV8Internal 89 } // namespace TestMediaQueryListListenerV8Internal
90 90
91 static const V8DOMConfiguration::BatchedMethod V8TestMediaQueryListListenerMetho ds[] = { 91 static const V8DOMConfiguration::BatchedMethod V8TestMediaQueryListListenerMetho ds[] = {
92 {"method", TestMediaQueryListListenerV8Internal::methodMethodCallback, 0}, 92 {"method", TestMediaQueryListListenerV8Internal::methodMethodCallback, 0, 1} ,
93 }; 93 };
94 94
95 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListene rTemplate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp erWorldType currentWorldType) 95 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestMediaQueryListListene rTemplate(v8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp erWorldType currentWorldType)
96 { 96 {
97 desc->ReadOnlyPrototype(); 97 desc->ReadOnlyPrototype();
98 98
99 v8::Local<v8::Signature> defaultSignature; 99 v8::Local<v8::Signature> defaultSignature;
100 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestMediaQue ryListListener", v8::Persistent<v8::FunctionTemplate>(), V8TestMediaQueryListLis tener::internalFieldCount, 100 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestMediaQue ryListListener", v8::Persistent<v8::FunctionTemplate>(), V8TestMediaQueryListLis tener::internalFieldCount,
101 0, 0, 101 0, 0,
102 V8TestMediaQueryListListenerMethods, WTF_ARRAY_LENGTH(V8TestMediaQueryLi stListenerMethods), isolate, currentWorldType); 102 V8TestMediaQueryListListenerMethods, WTF_ARRAY_LENGTH(V8TestMediaQueryLi stListenerMethods), isolate, currentWorldType);
(...skipping 52 matching lines...)
155 installPerContextProperties(wrapper, impl.get(), isolate); 155 installPerContextProperties(wrapper, impl.get(), isolate);
156 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent); 156 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep endent);
157 return wrapper; 157 return wrapper;
158 } 158 }
159 void V8TestMediaQueryListListener::derefObject(void* object) 159 void V8TestMediaQueryListListener::derefObject(void* object)
160 { 160 {
161 static_cast<TestMediaQueryListListener*>(object)->deref(); 161 static_cast<TestMediaQueryListListener*>(object)->deref();
162 } 162 }
163 163
164 } // namespace WebCore 164 } // namespace WebCore
OLDNEW

Powered by Google App Engine