| 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/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| 11 #include "bindings/core/v8/ToV8.h" | 11 #include "bindings/core/v8/ToV8.h" |
| 12 #include "bindings/core/v8/V8Binding.h" | 12 #include "bindings/core/v8/V8Binding.h" |
| 13 #include "bindings/core/v8/V8DOMWrapper.h" | 13 #include "bindings/core/v8/V8DOMWrapper.h" |
| 14 #include "bindings/core/v8/WrapperTypeInfo.h" | 14 #include "bindings/core/v8/WrapperTypeInfo.h" |
| 15 #include "bindings/tests/idls/core/TestObject.h" | 15 #include "bindings/tests/idls/core/TestObject.h" |
| 16 #include "core/CoreExport.h" | 16 #include "core/CoreExport.h" |
| 17 #include "platform/heap/Handle.h" | 17 #include "platform/heap/Handle.h" |
| 18 | 18 |
| 19 namespace blink { | 19 namespace blink { |
| 20 | 20 |
| 21 class V8TestObject { | 21 class V8TestObject { |
| 22 STATIC_ONLY(V8TestObject); |
| 22 public: | 23 public: |
| 23 class PrivateScript { | 24 class PrivateScript { |
| 25 STATIC_ONLY(PrivateScript); |
| 24 public: | 26 public: |
| 25 static bool voidMethodImplementedInPrivateScriptMethod(LocalFrame* frame
, TestObject* holderImpl); | 27 static bool voidMethodImplementedInPrivateScriptMethod(LocalFrame* frame
, TestObject* holderImpl); |
| 26 static bool shortMethodImplementedInPrivateScriptMethod(LocalFrame* fram
e, TestObject* holderImpl, int* result); | 28 static bool shortMethodImplementedInPrivateScriptMethod(LocalFrame* fram
e, TestObject* holderImpl, int* result); |
| 27 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestObject* holderImpl, int value, int* result); | 29 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod
(LocalFrame* frame, TestObject* holderImpl, int value, int* result); |
| 28 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMeth
od(LocalFrame* frame, TestObject* holderImpl, String value, String* result); | 30 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMeth
od(LocalFrame* frame, TestObject* holderImpl, String value, String* result); |
| 29 static bool nodeMethodWithNodeArgumentImplementedInPrivateScriptMethod(L
ocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Node> value, Re
fPtrWillBeRawPtr<Node>* result); | 31 static bool nodeMethodWithNodeArgumentImplementedInPrivateScriptMethod(L
ocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Node> value, Re
fPtrWillBeRawPtr<Node>* result); |
| 30 static bool nodeMethodWithVariousArgumentsImplementedInPrivateScriptMeth
od(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Document> d
ocument, PassRefPtrWillBeRawPtr<Node> node, int value1, double value2, String st
ring, RefPtrWillBeRawPtr<Node>* result); | 32 static bool nodeMethodWithVariousArgumentsImplementedInPrivateScriptMeth
od(LocalFrame* frame, TestObject* holderImpl, PassRefPtrWillBeRawPtr<Document> d
ocument, PassRefPtrWillBeRawPtr<Node> node, int value1, double value2, String st
ring, RefPtrWillBeRawPtr<Node>* result); |
| 31 static bool methodForPrivateScriptOnlyMethod(LocalFrame* frame, TestObje
ct* holderImpl, int value1, int value2, int* result); | 33 static bool methodForPrivateScriptOnlyMethod(LocalFrame* frame, TestObje
ct* holderImpl, int value1, int value2, int* result); |
| 32 static bool readonlyShortAttributeAttributeGetter(LocalFrame* frame, Tes
tObject* holderImpl, int* result); | 34 static bool readonlyShortAttributeAttributeGetter(LocalFrame* frame, Tes
tObject* holderImpl, int* result); |
| 33 static bool shortAttributeAttributeGetter(LocalFrame* frame, TestObject*
holderImpl, int* result); | 35 static bool shortAttributeAttributeGetter(LocalFrame* frame, TestObject*
holderImpl, int* result); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 }; | 86 }; |
| 85 | 87 |
| 86 template <> | 88 template <> |
| 87 struct V8TypeOf<TestObject> { | 89 struct V8TypeOf<TestObject> { |
| 88 typedef V8TestObject Type; | 90 typedef V8TestObject Type; |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 } // namespace blink | 93 } // namespace blink |
| 92 | 94 |
| 93 #endif // V8TestObject_h | 95 #endif // V8TestObject_h |
| OLD | NEW |