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

Side by Side Diff: Source/bindings/tests/results/V8TestInterface.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 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ; 44 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0 ;
45 static inline ScriptWrappableBase* toInternalPointer(TestInterfaceImplementa tion* impl) 45 static inline ScriptWrappableBase* toInternalPointer(TestInterfaceImplementa tion* impl)
46 { 46 {
47 return V8TestInterfaceEmpty::toInternalPointer(impl); 47 return V8TestInterfaceEmpty::toInternalPointer(impl);
48 } 48 }
49 49
50 static inline TestInterfaceImplementation* fromInternalPointer(ScriptWrappab leBase* internalPointer) 50 static inline TestInterfaceImplementation* fromInternalPointer(ScriptWrappab leBase* internalPointer)
51 { 51 {
52 return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::f romInternalPointer(internalPointer)); 52 return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::f romInternalPointer(internalPointer));
53 } 53 }
54 static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestI nterfaceImplementation*, v8::Isolate*); 54 static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8 ::Isolate*);
55 static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isol ate*); 55 static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::I solate*);
56 56
57 private: 57 private:
58 }; 58 };
59 59
60 class TestInterfaceImplementation; 60 class TestInterfaceImplementation;
61 v8::Handle<v8::Value> toV8(TestInterfaceImplementation*, v8::Handle<v8::Object> creationContext, v8::Isolate*); 61 v8::Handle<v8::Value> toV8(TestInterfaceImplementation*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
62 62
63 template<class CallbackInfo> 63 template<class CallbackInfo>
64 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceImpl ementation* impl) 64 inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceImpl ementation* impl)
65 { 65 {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 template<class CallbackInfo, class Wrappable> 98 template<class CallbackInfo, class Wrappable>
99 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterfaceImplementation> impl, Wrappable* wrappable) 99 inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<Te stInterfaceImplementation> impl, Wrappable* wrappable)
100 { 100 {
101 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); 101 v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
102 } 102 }
103 103
104 } 104 }
105 #endif // ENABLE(CONDITION) 105 #endif // ENABLE(CONDITION)
106 #endif // V8TestInterface_h 106 #endif // V8TestInterface_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestException.cpp ('k') | Source/bindings/tests/results/V8TestInterface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698