| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 static void methodMethod(const v8::FunctionCallbackInfo<v8::Value>& args) | 65 static void methodMethod(const v8::FunctionCallbackInfo<v8::Value>& args) |
| 66 { | 66 { |
| 67 if (UNLIKELY(args.Length() < 1)) { | 67 if (UNLIKELY(args.Length() < 1)) { |
| 68 throwTypeError(ExceptionMessages::failedToExecute("method", "TestMediaQu
eryListListener", ExceptionMessages::notEnoughArguments(1, args.Length())), args
.GetIsolate()); | 68 throwTypeError(ExceptionMessages::failedToExecute("method", "TestMediaQu
eryListListener", ExceptionMessages::notEnoughArguments(1, args.Length())), args
.GetIsolate()); |
| 69 return; | 69 return; |
| 70 } | 70 } |
| 71 TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(arg
s.Holder()); | 71 TestMediaQueryListListener* imp = V8TestMediaQueryListListener::toNative(arg
s.Holder()); |
| 72 V8TRYCATCH_VOID(RefPtr<MediaQueryListListener>, listener, MediaQueryListList
ener::create(ScriptValue(args[0], args.GetIsolate()))); | 72 V8TRYCATCH_VOID(RefPtr<MediaQueryListListener>, listener, MediaQueryListList
ener::create(ScriptValue(args[0], args.GetIsolate()))); |
| 73 imp->method(listener); | 73 imp->method(listener); |
| 74 | |
| 75 return; | 74 return; |
| 76 } | 75 } |
| 77 | 76 |
| 78 static void methodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args
) | 77 static void methodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args
) |
| 79 { | 78 { |
| 80 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 79 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 81 TestMediaQueryListListenerV8Internal::methodMethod(args); | 80 TestMediaQueryListListenerV8Internal::methodMethod(args); |
| 82 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); | 81 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); |
| 83 } | 82 } |
| 84 | 83 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 V8DOMWrapper::associateObjectWithWrapper<V8TestMediaQueryListListener>(impl,
&wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); | 152 V8DOMWrapper::associateObjectWithWrapper<V8TestMediaQueryListListener>(impl,
&wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); |
| 154 return wrapper; | 153 return wrapper; |
| 155 } | 154 } |
| 156 | 155 |
| 157 void V8TestMediaQueryListListener::derefObject(void* object) | 156 void V8TestMediaQueryListListener::derefObject(void* object) |
| 158 { | 157 { |
| 159 fromInternalPointer(object)->deref(); | 158 fromInternalPointer(object)->deref(); |
| 160 } | 159 } |
| 161 | 160 |
| 162 } // namespace WebCore | 161 } // namespace WebCore |
| OLD | NEW |