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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterfacePartial.h

Issue 2749253002: bindings: Expand typedefs before generating union files. (Closed)
Patch Set: Created 3 years, 9 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
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 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/partial_interface.h.tmpl
10 10
11 // clang-format off 11 // clang-format off
12 #ifndef V8TestInterfacePartial_h 12 #ifndef V8TestInterfacePartial_h
13 #define V8TestInterfacePartial_h 13 #define V8TestInterfacePartial_h
14 14
15 #include "bindings/core/v8/GeneratedCodeHelper.h" 15 #include "bindings/core/v8/GeneratedCodeHelper.h"
16 #include "bindings/core/v8/NativeValueTraits.h" 16 #include "bindings/core/v8/NativeValueTraits.h"
17 #include "bindings/core/v8/ScriptWrappable.h" 17 #include "bindings/core/v8/ScriptWrappable.h"
18 #include "bindings/core/v8/ToV8.h" 18 #include "bindings/core/v8/ToV8.h"
19 #include "bindings/core/v8/UnsignedLongLongOrBooleanOrTestCallbackInterface.h"
19 #include "bindings/core/v8/V8Binding.h" 20 #include "bindings/core/v8/V8Binding.h"
20 #include "bindings/core/v8/V8DOMWrapper.h" 21 #include "bindings/core/v8/V8DOMWrapper.h"
21 #include "bindings/core/v8/WrapperTypeInfo.h" 22 #include "bindings/core/v8/WrapperTypeInfo.h"
22 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" 23 #include "bindings/tests/idls/core/TestInterfaceImplementation.h"
23 #include "platform/heap/Handle.h" 24 #include "platform/heap/Handle.h"
24 25
25 namespace blink { 26 namespace blink {
26 27
27 class ScriptState; 28 class ScriptState;
28 29
29 class V8TestInterfacePartial { 30 class V8TestInterfacePartial {
30 STATIC_ONLY(V8TestInterfacePartial); 31 STATIC_ONLY(V8TestInterfacePartial);
31 public: 32 public:
32 static void initialize(); 33 static void initialize();
33 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI nfo<v8::Value>&); 34 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI nfo<v8::Value>&);
34 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F unctionTemplate>); 35 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F unctionTemplate>);
35 36
36 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Objec t> instance); 37 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Objec t> instance);
37 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWor ld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local< v8::Function> interface); 38 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWor ld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local< v8::Function> interface);
38 static void installOriginTrialPartialFeature(ScriptState*); 39 static void installOriginTrialPartialFeature(ScriptState*);
39 40
40 // Callback functions 41 // Callback functions
41 static void partial4LongAttributeAttributeGetterCallback( const v8::Functio nCallbackInfo<v8::Value>& info); 42 static void partial4LongAttributeAttributeGetterCallback( const v8::Functio nCallbackInfo<v8::Value>& info);
42 static void partial4LongAttributeAttributeSetterCallback( const v8::Functio nCallbackInfo<v8::Value>& info); 43 static void partial4LongAttributeAttributeSetterCallback( const v8::Functio nCallbackInfo<v8::Value>& info);
43 static void partial4StaticLongAttributeAttributeGetterCallback( const v8::F unctionCallbackInfo<v8::Value>& info); 44 static void partial4StaticLongAttributeAttributeGetterCallback( const v8::F unctionCallbackInfo<v8::Value>& info);
44 static void partial4StaticLongAttributeAttributeSetterCallback( const v8::F unctionCallbackInfo<v8::Value>& info); 45 static void partial4StaticLongAttributeAttributeSetterCallback( const v8::F unctionCallbackInfo<v8::Value>& info);
45 46
46 static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Functi onCallbackInfo<v8::Value>& info); 47 static void partialVoidTestEnumModulesArgMethodMethodCallback(const v8::Functi onCallbackInfo<v8::Value>& info);
47 static void unscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info); 48 static void unscopableVoidMethodMethodCallback(const v8::FunctionCallbackInfo< v8::Value>& info);
49 static void unionWithTypedefMethodMethodCallback(const v8::FunctionCallbackInf o<v8::Value>& info);
48 static void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8 ::Value>& info); 50 static void partial4VoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8 ::Value>& info);
49 static void partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& info); 51 static void partial4StaticVoidMethodMethodCallback(const v8::FunctionCallbackI nfo<v8::Value>& info);
50 52
51 private: 53 private:
52 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld &, v8::Local<v8::FunctionTemplate> interfaceTemplate); 54 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld &, v8::Local<v8::FunctionTemplate> interfaceTemplate);
53 }; 55 };
54 56
55 } // namespace blink 57 } // namespace blink
56 58
57 #endif // V8TestInterfacePartial_h 59 #endif // V8TestInterfacePartial_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698