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

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

Issue 149993003: IDL compiler: [Custom=PropertyEnumerator] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 { 48 {
49 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex)); 49 return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8 DOMWrapperObjectIndex));
50 } 50 }
51 static void derefObject(void*); 51 static void derefObject(void*);
52 static const WrapperTypeInfo wrapperTypeInfo; 52 static const WrapperTypeInfo wrapperTypeInfo;
53 static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallback Info<v8::Value>&); 53 static void indexedPropertyGetterCustom(uint32_t, const v8::PropertyCallback Info<v8::Value>&);
54 static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, cons t v8::PropertyCallbackInfo<v8::Value>&); 54 static void indexedPropertySetterCustom(uint32_t, v8::Local<v8::Value>, cons t v8::PropertyCallbackInfo<v8::Value>&);
55 static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbac kInfo<v8::Boolean>&); 55 static void indexedPropertyDeleterCustom(uint32_t, const v8::PropertyCallbac kInfo<v8::Boolean>&);
56 static void namedPropertyGetterCustom(v8::Local<v8::String>, const v8::Prope rtyCallbackInfo<v8::Value>&); 56 static void namedPropertyGetterCustom(v8::Local<v8::String>, const v8::Prope rtyCallbackInfo<v8::Value>&);
57 static void namedPropertySetterCustom(v8::Local<v8::String>, v8::Local<v8::V alue>, const v8::PropertyCallbackInfo<v8::Value>&); 57 static void namedPropertySetterCustom(v8::Local<v8::String>, v8::Local<v8::V alue>, const v8::PropertyCallbackInfo<v8::Value>&);
58 static void namedPropertyQueryCustom(v8::Local<v8::String>, const v8::Proper tyCallbackInfo<v8::Integer>&);
58 static void namedPropertyDeleterCustom(v8::Local<v8::String>, const v8::Prop ertyCallbackInfo<v8::Boolean>&); 59 static void namedPropertyDeleterCustom(v8::Local<v8::String>, const v8::Prop ertyCallbackInfo<v8::Boolean>&);
59 static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8: :Array>&); 60 static void namedPropertyEnumeratorCustom(const v8::PropertyCallbackInfo<v8: :Array>&);
60 static void namedPropertyQueryCustom(v8::Local<v8::String>, const v8::Proper tyCallbackInfo<v8::Integer>&);
61 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 61 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
62 static inline void* toInternalPointer(TestSpecialOperationsCustom* impl) 62 static inline void* toInternalPointer(TestSpecialOperationsCustom* impl)
63 { 63 {
64 return impl; 64 return impl;
65 } 65 }
66 66
67 static inline TestSpecialOperationsCustom* fromInternalPointer(void* object) 67 static inline TestSpecialOperationsCustom* fromInternalPointer(void* object)
68 { 68 {
69 return static_cast<TestSpecialOperationsCustom*>(object); 69 return static_cast<TestSpecialOperationsCustom*>(object);
70 } 70 }
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 } 157 }
158 158
159 template<class CallbackInfo, class Wrappable> 159 template<class CallbackInfo, class Wrappable>
160 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stSpecialOperationsCustom > impl, Wrappable* wrappable) 160 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stSpecialOperationsCustom > impl, Wrappable* wrappable)
161 { 161 {
162 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 162 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
163 } 163 }
164 164
165 } 165 }
166 #endif // V8TestSpecialOperationsCustom_h 166 #endif // V8TestSpecialOperationsCustom_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698