| OLD | NEW |
| 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 "V8TestInterface3.h" | 8 #include "V8TestInterface3.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 } | 87 } |
| 88 Document* document; | 88 Document* document; |
| 89 double d; | 89 double d; |
| 90 { | 90 { |
| 91 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); | 91 document = V8Document::toImplWithTypeCheck(info.GetIsolate(), info[0]); |
| 92 if (!document) { | 92 if (!document) { |
| 93 exceptionState.throwTypeError("parameter 1 is not of type 'Document'
."); | 93 exceptionState.throwTypeError("parameter 1 is not of type 'Document'
."); |
| 94 exceptionState.throwIfNeeded(); | 94 exceptionState.throwIfNeeded(); |
| 95 return; | 95 return; |
| 96 } | 96 } |
| 97 d = toRestrictedDouble(info[1], exceptionState); | 97 d = toRestrictedDouble(info.GetIsolate(), info[1], exceptionState); |
| 98 if (exceptionState.throwIfNeeded()) | 98 if (exceptionState.throwIfNeeded()) |
| 99 return; | 99 return; |
| 100 } | 100 } |
| 101 TestPartialInterface4::voidMethodDocument(document, d); | 101 TestPartialInterface4::voidMethodDocument(document, d); |
| 102 } | 102 } |
| 103 #endif // ENABLE(BAR) | 103 #endif // ENABLE(BAR) |
| 104 | 104 |
| 105 #if ENABLE(BAR) | 105 #if ENABLE(BAR) |
| 106 static void voidMethodDocumentMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>& info) | 106 static void voidMethodDocumentMethodCallback(const v8::FunctionCallbackInfo<v8::
Value>& info) |
| 107 { | 107 { |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 { | 352 { |
| 353 scriptWrappable->toImpl<TestInterface3>()->ref(); | 353 scriptWrappable->toImpl<TestInterface3>()->ref(); |
| 354 } | 354 } |
| 355 | 355 |
| 356 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) | 356 void V8TestInterface3::derefObject(ScriptWrappable* scriptWrappable) |
| 357 { | 357 { |
| 358 scriptWrappable->toImpl<TestInterface3>()->deref(); | 358 scriptWrappable->toImpl<TestInterface3>()->deref(); |
| 359 } | 359 } |
| 360 | 360 |
| 361 } // namespace blink | 361 } // namespace blink |
| OLD | NEW |