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

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

Issue 424163002: Enable the WebIDL [Exposed] annotation on an interface's members. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: missed renames 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 V8TestInterface3_h 7 #ifndef V8TestInterface3_h
8 #define V8TestInterface3_h 8 #define V8TestInterface3_h
9 9
10 #include "bindings/core/v8/ScriptWrappable.h" 10 #include "bindings/core/v8/ScriptWrappable.h"
(...skipping 29 matching lines...) Expand all
40 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 40 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
41 static inline ScriptWrappableBase* toInternalPointer(TestInterface3* impl) 41 static inline ScriptWrappableBase* toInternalPointer(TestInterface3* impl)
42 { 42 {
43 return reinterpret_cast<ScriptWrappableBase*>(static_cast<void*>(impl)); 43 return reinterpret_cast<ScriptWrappableBase*>(static_cast<void*>(impl));
44 } 44 }
45 45
46 static inline TestInterface3* fromInternalPointer(ScriptWrappableBase* inter nalPointer) 46 static inline TestInterface3* fromInternalPointer(ScriptWrappableBase* inter nalPointer)
47 { 47 {
48 return reinterpret_cast<TestInterface3*>(static_cast<void*>(internalPoin ter)); 48 return reinterpret_cast<TestInterface3*>(static_cast<void*>(internalPoin ter));
49 } 49 }
50 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestI nterface3*, v8::Isolate*) { } 50 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8 ::Isolate*) { }
51 static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isol ate*) { } 51 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I solate*) { }
52 52
53 private: 53 private:
54 friend v8::Handle<v8::Object> wrap(TestInterface3*, v8::Handle<v8::Object> c reationContext, v8::Isolate*); 54 friend v8::Handle<v8::Object> wrap(TestInterface3*, v8::Handle<v8::Object> c reationContext, v8::Isolate*);
55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface3>, v8:: Handle<v8::Object> creationContext, v8::Isolate*); 55 static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterface3>, v8:: Handle<v8::Object> creationContext, v8::Isolate*);
56 }; 56 };
57 57
58 v8::Handle<v8::Object> wrap(TestInterface3* impl, v8::Handle<v8::Object> creatio nContext, v8::Isolate*); 58 v8::Handle<v8::Object> wrap(TestInterface3* impl, v8::Handle<v8::Object> creatio nContext, v8::Isolate*);
59 59
60 inline v8::Handle<v8::Value> toV8(TestInterface3* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate) 60 inline v8::Handle<v8::Value> toV8(TestInterface3* impl, v8::Handle<v8::Object> c reationContext, v8::Isolate* isolate)
61 { 61 {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 } 125 }
126 126
127 template<class CallbackInfo, class Wrappable> 127 template<class CallbackInfo, class Wrappable>
128 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterface3> impl, Wrappable* wrappable) 128 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterface3> impl, Wrappable* wrappable)
129 { 129 {
130 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 130 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
131 } 131 }
132 132
133 } 133 }
134 #endif // V8TestInterface3_h 134 #endif // V8TestInterface3_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface2.cpp ('k') | Source/bindings/tests/results/V8TestInterface3.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698