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 V8TestInterface_h | 7 #ifndef V8TestInterface_h |
8 #define V8TestInterface_h | 8 #define V8TestInterface_h |
9 | 9 |
10 #if ENABLE(CONDITION) | 10 #if ENABLE(CONDITION) |
11 #include "bindings/core/v8/ScriptWrappable.h" | 11 #include "bindings/core/v8/ScriptWrappable.h" |
12 #include "bindings/core/v8/ToV8.h" | 12 #include "bindings/core/v8/ToV8.h" |
13 #include "bindings/core/v8/V8Binding.h" | 13 #include "bindings/core/v8/V8Binding.h" |
14 #include "bindings/core/v8/V8DOMWrapper.h" | 14 #include "bindings/core/v8/V8DOMWrapper.h" |
15 #include "bindings/core/v8/V8TestInterfaceEmpty.h" | 15 #include "bindings/core/v8/V8TestInterfaceEmpty.h" |
16 #include "bindings/core/v8/WrapperTypeInfo.h" | 16 #include "bindings/core/v8/WrapperTypeInfo.h" |
17 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" | 17 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" |
18 #include "core/CoreExport.h" | 18 #include "core/CoreExport.h" |
19 #include "platform/heap/Handle.h" | 19 #include "platform/heap/Handle.h" |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 class V8TestInterface { | 23 class V8TestInterface { |
| 24 STATIC_ONLY(V8TestInterface); |
24 public: | 25 public: |
25 class PrivateScript { | 26 class PrivateScript { |
| 27 STATIC_ONLY(PrivateScript); |
26 public: | 28 public: |
27 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestInterface* holderImpl, int value, int* result); | 29 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestInterface* holderImpl, int value, int* result); |
28 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String* result); | 30 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String* result); |
29 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String cppValue); | 31 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestInterf
aceImplementation* holderImpl, String cppValue); |
30 }; | 32 }; |
31 | 33 |
32 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); | 34 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); |
33 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); | 35 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu
e>, v8::Isolate*); |
34 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; | 36 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*)
; |
35 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) | 37 static TestInterfaceImplementation* toImpl(v8::Local<v8::Object> object) |
(...skipping 30 matching lines...) Expand all Loading... |
66 | 68 |
67 template <> | 69 template <> |
68 struct V8TypeOf<TestInterfaceImplementation> { | 70 struct V8TypeOf<TestInterfaceImplementation> { |
69 typedef V8TestInterface Type; | 71 typedef V8TestInterface Type; |
70 }; | 72 }; |
71 | 73 |
72 } // namespace blink | 74 } // namespace blink |
73 #endif // ENABLE(CONDITION) | 75 #endif // ENABLE(CONDITION) |
74 | 76 |
75 #endif // V8TestInterface_h | 77 #endif // V8TestInterface_h |
OLD | NEW |