OLD | NEW |
1 /* | 1 /* |
2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 namespace TestMediaQueryListListenerV8Internal { | 56 namespace TestMediaQueryListListenerV8Internal { |
57 | 57 |
58 template <typename T> void V8_USE(T) { } | 58 template <typename T> void V8_USE(T) { } |
59 | 59 |
60 static v8::Handle<v8::Value> methodMethod(const v8::Arguments& args) | 60 static v8::Handle<v8::Value> methodMethod(const v8::Arguments& args) |
61 { | 61 { |
62 if (args.Length() < 1) | 62 if (args.Length() < 1) |
63 return throwNotEnoughArgumentsError(args.GetIsolate()); | 63 return throwNotEnoughArgumentsError(args.GetIsolate()); |
64 TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(arg
s.Holder()); | 64 TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(arg
s.Holder()); |
65 ExceptionCode ec = 0; | |
66 V8TRYCATCH(RefPtr<MediaQueryListListener>, listener, MediaQueryListListener:
:create(args[0])); | 65 V8TRYCATCH(RefPtr<MediaQueryListListener>, listener, MediaQueryListListener:
:create(args[0])); |
67 imp->method(listener); | 66 imp->method(listener); |
68 return v8Undefined(); | 67 return v8Undefined(); |
69 } | 68 } |
70 | 69 |
71 static v8::Handle<v8::Value> methodMethodCallback(const v8::Arguments& args) | 70 static v8::Handle<v8::Value> methodMethodCallback(const v8::Arguments& args) |
72 { | 71 { |
73 return TestMediaQueryListListenerV8Internal::methodMethod(args); | 72 return TestMediaQueryListListenerV8Internal::methodMethod(args); |
74 } | 73 } |
75 | 74 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 installPerContextProperties(wrapper, impl.get(), isolate); | 136 installPerContextProperties(wrapper, impl.get(), isolate); |
138 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 137 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
139 return wrapper; | 138 return wrapper; |
140 } | 139 } |
141 void V8TestMediaQueryListListener::derefObject(void* object) | 140 void V8TestMediaQueryListListener::derefObject(void* object) |
142 { | 141 { |
143 static_cast<TestMediaQueryListListener*>(object)->deref(); | 142 static_cast<TestMediaQueryListListener*>(object)->deref(); |
144 } | 143 } |
145 | 144 |
146 } // namespace WebCore | 145 } // namespace WebCore |
OLD | NEW |