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

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

Issue 2647643002: Fix V8 bindings for named constructors to set prototype object correctly (Closed)
Patch Set: Created 3 years, 11 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/ScriptWrappable.h" 15 #include "bindings/core/v8/ScriptWrappable.h"
16 #include "bindings/core/v8/ToV8.h" 16 #include "bindings/core/v8/ToV8.h"
17 #include "bindings/core/v8/V8Binding.h" 17 #include "bindings/core/v8/V8Binding.h"
18 #include "bindings/core/v8/V8DOMWrapper.h" 18 #include "bindings/core/v8/V8DOMWrapper.h"
19 #include "bindings/core/v8/V8PrivateProperty.h"
19 #include "bindings/core/v8/WrapperTypeInfo.h" 20 #include "bindings/core/v8/WrapperTypeInfo.h"
20 #include "bindings/tests/idls/core/TestInterfaceImplementation.h" 21 #include "bindings/tests/idls/core/TestInterfaceImplementation.h"
21 #include "platform/heap/Handle.h" 22 #include "platform/heap/Handle.h"
22 23
23 namespace blink { 24 namespace blink {
24 25
25 class ScriptState; 26 class ScriptState;
26 27
27 class V8TestInterfacePartial { 28 class V8TestInterfacePartial {
28 STATIC_ONLY(V8TestInterfacePartial); 29 STATIC_ONLY(V8TestInterfacePartial);
29 public: 30 public:
30 static void initialize(); 31 static void initialize();
31 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI nfo<v8::Value>&); 32 static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackI nfo<v8::Value>&);
32 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F unctionTemplate>); 33 static void preparePrototypeAndInterfaceObject(v8::Local<v8::Context>, const D OMWrapperWorld&, v8::Local<v8::Object>, v8::Local<v8::Function>, v8::Local<v8::F unctionTemplate>);
33 34
34 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Objec t> instance); 35 static void installOriginTrialPartialFeature(ScriptState*, v8::Local<v8::Objec t> instance);
35 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWor ld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local< v8::Function> interface); 36 static void installOriginTrialPartialFeature(v8::Isolate*, const DOMWrapperWor ld&, v8::Local<v8::Object> instance, v8::Local<v8::Object> prototype, v8::Local< v8::Function> interface);
36 static void installOriginTrialPartialFeature(ScriptState*); 37 static void installOriginTrialPartialFeature(ScriptState*);
37 38
38 private: 39 private:
39 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld &, v8::Local<v8::FunctionTemplate> interfaceTemplate); 40 static void installV8TestInterfaceTemplate(v8::Isolate*, const DOMWrapperWorld &, v8::Local<v8::FunctionTemplate> interfaceTemplate);
40 }; 41 };
41 42
42 } // namespace blink 43 } // namespace blink
43 44
44 #endif // V8TestInterfacePartial_h 45 #endif // V8TestInterfacePartial_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698