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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface.h

Issue 457483002: Blink-in-JS: Support partial interfaces in private scripts Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months 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 | Annotate | Revision Log
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. 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)
(...skipping 14 matching lines...) Expand all
25 static TestInterfaceImplementation* toNative(v8::Handle<v8::Object> object) 25 static TestInterfaceImplementation* toNative(v8::Handle<v8::Object> object)
26 { 26 {
27 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex)); 27 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex));
28 } 28 }
29 static TestInterfaceImplementation* toNativeWithTypeCheck(v8::Isolate*, v8:: Handle<v8::Value>); 29 static TestInterfaceImplementation* toNativeWithTypeCheck(v8::Isolate*, v8:: Handle<v8::Value>);
30 static const WrapperTypeInfo wrapperTypeInfo; 30 static const WrapperTypeInfo wrapperTypeInfo;
31 static void derefObject(void*); 31 static void derefObject(void*);
32 static void visitDOMWrapper(void*, const v8::Persistent<v8::Object>&, v8::Is olate*); 32 static void visitDOMWrapper(void*, const v8::Persistent<v8::Object>&, v8::Is olate*);
33 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>); 33 static ActiveDOMObject* toActiveDOMObject(v8::Handle<v8::Object>);
34 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac kInfo<v8::Value>&); 34 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbac kInfo<v8::Value>&);
35 static bool shortMethodWithShortArgumentImplementedInPrivateScriptMethodImpl ementedInPrivateScript(LocalFrame* frame, TestInterface* holderImpl, int value, int* result);
36 static bool stringAttributeAttributeGetterImplementedInPrivateScript(LocalFr ame* frame, TestInterfaceImplementation* holderImpl, String* result);
37 static bool stringAttributeAttributeSetterImplementedInPrivateScript(LocalFr ame* frame, TestInterfaceImplementation* holderImpl, String cppValue);
35 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); 38 static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&);
36 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 39 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
37 static inline void* toInternalPointer(TestInterfaceImplementation* impl) 40 static inline void* toInternalPointer(TestInterfaceImplementation* impl)
38 { 41 {
39 return V8TestInterfaceEmpty::toInternalPointer(impl); 42 return V8TestInterfaceEmpty::toInternalPointer(impl);
40 } 43 }
41 44
42 static inline TestInterfaceImplementation* fromInternalPointer(void* object) 45 static inline TestInterfaceImplementation* fromInternalPointer(void* object)
43 { 46 {
44 return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::f romInternalPointer(object)); 47 return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::f romInternalPointer(object));
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 92
90 template<class CallbackInfo, class Wrappable> 93 template<class CallbackInfo, class Wrappable>
91 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterfaceImplementation> impl, Wrappable* wrappable) 94 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterfaceImplementation> impl, Wrappable* wrappable)
92 { 95 {
93 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 96 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
94 } 97 }
95 98
96 } 99 }
97 #endif // ENABLE(CONDITION) 100 #endif // ENABLE(CONDITION)
98 #endif // V8TestInterface_h 101 #endif // V8TestInterface_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestPartialInterface.idl ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698