Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.h

Issue 2571063002: Remove Blink-in-JS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // clang-format off 8 // clang-format off
9 #ifndef V8TestObject_h 9 #ifndef V8TestObject_h
10 #define V8TestObject_h 10 #define V8TestObject_h
(...skipping 16 matching lines...) Expand all
27 #include "bindings/tests/idls/core/TestObject.h" 27 #include "bindings/tests/idls/core/TestObject.h"
28 #include "core/CoreExport.h" 28 #include "core/CoreExport.h"
29 #include "platform/heap/Handle.h" 29 #include "platform/heap/Handle.h"
30 30
31 namespace blink { 31 namespace blink {
32 32
33 class ScriptState; 33 class ScriptState;
34 class V8TestObject { 34 class V8TestObject {
35 STATIC_ONLY(V8TestObject); 35 STATIC_ONLY(V8TestObject);
36 public: 36 public:
37 class PrivateScript {
38 STATIC_ONLY(PrivateScript);
39 public:
40 static bool voidMethodImplementedInPrivateScriptMethod(LocalFrame* frame, Te stObject* holderImpl);
41 static bool shortMethodImplementedInPrivateScriptMethod(LocalFrame* frame, T estObject* holderImpl, int* result);
42 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethod(Loc alFrame* frame, TestObject* holderImpl, int value, int* result);
43 static bool stringMethodWithStringArgumentImplementedInPrivateScriptMethod(L ocalFrame* frame, TestObject* holderImpl, String value, String* result);
44 static bool nodeMethodWithNodeArgumentImplementedInPrivateScriptMethod(Local Frame* frame, TestObject* holderImpl, Node* value, Node** result);
45 static bool nodeMethodWithVariousArgumentsImplementedInPrivateScriptMethod(L ocalFrame* frame, TestObject* holderImpl, Document* document, Node* node, int va lue1, double value2, String string, Node** result);
46 static bool methodForPrivateScriptOnlyMethod(LocalFrame* frame, TestObject* holderImpl, int value1, int value2, int* result);
47 static bool readonlyShortAttributeAttributeGetter(LocalFrame* frame, TestObj ect* holderImpl, int* result);
48 static bool shortAttributeAttributeGetter(LocalFrame* frame, TestObject* hol derImpl, int* result);
49 static bool shortAttributeAttributeSetter(LocalFrame* frame, TestObject* hol derImpl, int cppValue);
50 static bool stringAttributeAttributeGetter(LocalFrame* frame, TestObject* ho lderImpl, String* result);
51 static bool stringAttributeAttributeSetter(LocalFrame* frame, TestObject* ho lderImpl, String cppValue);
52 static bool nodeAttributeAttributeGetter(LocalFrame* frame, TestObject* hold erImpl, Node** result);
53 static bool nodeAttributeAttributeSetter(LocalFrame* frame, TestObject* hold erImpl, Node* cppValue);
54 static bool attributeForPrivateScriptOnlyAttributeGetter(LocalFrame* frame, TestObject* holderImpl, String* result);
55 static bool attributeForPrivateScriptOnlyAttributeSetter(LocalFrame* frame, TestObject* holderImpl, String cppValue);
56 static bool enumForPrivateScriptAttributeGetter(LocalFrame* frame, TestObjec t* holderImpl, String* result);
57 static bool enumForPrivateScriptAttributeSetter(LocalFrame* frame, TestObjec t* holderImpl, String cppValue);
58 };
59
60 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); 37 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
61 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value> , v8::Isolate*); 38 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value> , v8::Isolate*);
62 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c onst DOMWrapperWorld&); 39 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c onst DOMWrapperWorld&);
63 static TestObject* toImpl(v8::Local<v8::Object> object) { 40 static TestObject* toImpl(v8::Local<v8::Object> object) {
64 return toScriptWrappable(object)->toImpl<TestObject>(); 41 return toScriptWrappable(object)->toImpl<TestObject>();
65 } 42 }
66 CORE_EXPORT static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8: :Value>); 43 CORE_EXPORT static TestObject* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8: :Value>);
67 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; 44 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
68 template<typename VisitorDispatcher> 45 template<typename VisitorDispatcher>
69 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) { 46 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
(...skipping 23 matching lines...) Expand all
93 }; 70 };
94 71
95 template <> 72 template <>
96 struct V8TypeOf<TestObject> { 73 struct V8TypeOf<TestObject> {
97 typedef V8TestObject Type; 74 typedef V8TestObject Type;
98 }; 75 };
99 76
100 } // namespace blink 77 } // namespace blink
101 78
102 #endif // V8TestObject_h 79 #endif // V8TestObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698