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 V8TestObject_h | 7 #ifndef V8TestObject_h |
8 #define V8TestObject_h | 8 #define V8TestObject_h |
9 | 9 |
10 #include "bindings/core/v8/ArrayBufferOrArrayBufferViewOrDictionary.h" | 10 #include "bindings/core/v8/ArrayBufferOrArrayBufferViewOrDictionary.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "bindings/core/v8/UnrestrictedDoubleOrString.h" | 21 #include "bindings/core/v8/UnrestrictedDoubleOrString.h" |
22 #include "bindings/core/v8/V8Binding.h" | 22 #include "bindings/core/v8/V8Binding.h" |
23 #include "bindings/core/v8/V8DOMWrapper.h" | 23 #include "bindings/core/v8/V8DOMWrapper.h" |
24 #include "bindings/core/v8/WrapperTypeInfo.h" | 24 #include "bindings/core/v8/WrapperTypeInfo.h" |
25 #include "bindings/tests/idls/core/TestObject.h" | 25 #include "bindings/tests/idls/core/TestObject.h" |
26 #include "core/CoreExport.h" | 26 #include "core/CoreExport.h" |
27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
| 31 class ScriptState; |
31 class V8TestObject { | 32 class V8TestObject { |
32 STATIC_ONLY(V8TestObject); | 33 STATIC_ONLY(V8TestObject); |
33 public: | 34 public: |
34 class PrivateScript { | 35 class PrivateScript { |
35 STATIC_ONLY(PrivateScript); | 36 STATIC_ONLY(PrivateScript); |
36 public: | 37 public: |
37 static bool voidMethodImplementedInPrivateScriptMethod(LocalFrame* frame
, TestObject* holderImpl); | 38 static bool voidMethodImplementedInPrivateScriptMethod(LocalFrame* frame
, TestObject* holderImpl); |
38 static bool shortMethodImplementedInPrivateScriptMethod(LocalFrame* fram
e, TestObject* holderImpl, int* result); | 39 static bool shortMethodImplementedInPrivateScriptMethod(LocalFrame* fram
e, TestObject* holderImpl, int* result); |
39 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestObject* holderImpl, int value, int* result); | 40 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestObject* holderImpl, int value, int* result); |
40 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMeth
od(LocalFrame* frame, TestObject* holderImpl, String value, String* result); | 41 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMeth
od(LocalFrame* frame, TestObject* holderImpl, String value, String* result); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::FunctionCallbackInfo<v8::Value>&); | 80 static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>,
const v8::FunctionCallbackInfo<v8::Value>&); |
80 static void customGetterLongAttributeAttributeGetterCustom(const v8::Functio
nCallbackInfo<v8::Value>&); | 81 static void customGetterLongAttributeAttributeGetterCustom(const v8::Functio
nCallbackInfo<v8::Value>&); |
81 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::FunctionCallbackInfo<v8::Value>&); | 82 static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v
8::FunctionCallbackInfo<v8::Value>&); |
82 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::FunctionCallbackInfo<v8::Value>&); | 83 static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Val
ue>, const v8::FunctionCallbackInfo<v8::Value>&); |
83 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::
FunctionCallbackInfo<v8::Value>&); | 84 static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::
FunctionCallbackInfo<v8::Value>&); |
84 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<
v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); | 85 static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<
v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); |
85 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::FunctionCallbackInfo<v8::Value>&); | 86 static void customGetterImplementedAsLongAttributeAttributeGetterCustom(cons
t v8::FunctionCallbackInfo<v8::Value>&); |
86 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); | 87 static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::
Local<v8::Value>, const v8::FunctionCallbackInfo<v8::Value>&); |
87 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; | 88 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0
; |
88 CORE_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::Con
text>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local<
v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate
); | 89 CORE_EXPORT static void preparePrototypeAndInterfaceObject(v8::Local<v8::Con
text>, const DOMWrapperWorld&, v8::Local<v8::Object> prototypeObject, v8::Local<
v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfaceTemplate
); |
| 90 |
| 91 static void installFeatureName(ScriptState*, v8::Local<v8::Object> instance)
; |
89 }; | 92 }; |
90 | 93 |
91 template <> | 94 template <> |
92 struct V8TypeOf<TestObject> { | 95 struct V8TypeOf<TestObject> { |
93 typedef V8TestObject Type; | 96 typedef V8TestObject Type; |
94 }; | 97 }; |
95 | 98 |
96 } // namespace blink | 99 } // namespace blink |
97 | 100 |
98 #endif // V8TestObject_h | 101 #endif // V8TestObject_h |
OLD | NEW |