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 #ifndef V8TestDictionary_h | 7 #ifndef V8TestDictionary_h |
8 #define V8TestDictionary_h | 8 #define V8TestDictionary_h |
9 | 9 |
10 #include "bindings/core/v8/V8Binding.h" | 10 #include "bindings/core/v8/V8Binding.h" |
11 #include "bindings/tests/idls/core/TestDictionary.h" | 11 #include "bindings/tests/idls/core/TestDictionary.h" |
12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 | 15 |
| 16 class ExceptionState; |
| 17 |
16 class V8TestDictionary { | 18 class V8TestDictionary { |
17 public: | 19 public: |
18 static TestDictionary* toImpl(v8::Isolate*, v8::Handle<v8::Value>); | 20 static TestDictionary* toImpl(v8::Isolate*, v8::Handle<v8::Value>, Exception
State&); |
19 }; | 21 }; |
20 | 22 |
21 v8::Handle<v8::Value> toV8(TestDictionary*, v8::Handle<v8::Object>, v8::Isolate*
); | 23 v8::Handle<v8::Value> toV8(TestDictionary*, v8::Handle<v8::Object>, v8::Isolate*
); |
22 | 24 |
23 template<class CallbackInfo> | 25 template<class CallbackInfo> |
24 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionary* i
mpl) | 26 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestDictionary* i
mpl) |
25 { | 27 { |
26 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInf
o.GetIsolate())); | 28 v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInf
o.GetIsolate())); |
27 } | 29 } |
28 | 30 |
29 } // namespace blink | 31 } // namespace blink |
30 | 32 |
31 #endif // V8TestDictionary_h | 33 #endif // V8TestDictionary_h |
OLD | NEW |