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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.h

Issue 2647643002: Fix V8 bindings for named constructors to set prototype object correctly (Closed)
Patch Set: Rebase 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/interface.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl
10 10
(...skipping 11 matching lines...) Expand all
22 #include "bindings/tests/idls/core/TestInterfaceNamedConstructor.h" 22 #include "bindings/tests/idls/core/TestInterfaceNamedConstructor.h"
23 #include "core/CoreExport.h" 23 #include "core/CoreExport.h"
24 #include "platform/heap/Handle.h" 24 #include "platform/heap/Handle.h"
25 25
26 namespace blink { 26 namespace blink {
27 27
28 class V8TestInterfaceNamedConstructorConstructor { 28 class V8TestInterfaceNamedConstructorConstructor {
29 STATIC_ONLY(V8TestInterfaceNamedConstructorConstructor); 29 STATIC_ONLY(V8TestInterfaceNamedConstructorConstructor);
30 public: 30 public:
31 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap perWorld&); 31 static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrap perWorld&);
32 static void NamedConstructorAttributeGetter(v8::Local<v8::Name> propertyName, const v8::PropertyCallbackInfo<v8::Value>& info);
32 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; 33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
33 }; 34 };
34 35
35 class V8TestInterfaceNamedConstructor { 36 class V8TestInterfaceNamedConstructor {
36 STATIC_ONLY(V8TestInterfaceNamedConstructor); 37 STATIC_ONLY(V8TestInterfaceNamedConstructor);
37 public: 38 public:
38 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); 39 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
39 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value> , v8::Isolate*); 40 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value> , v8::Isolate*);
40 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c onst DOMWrapperWorld&); 41 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, c onst DOMWrapperWorld&);
41 static TestInterfaceNamedConstructor* toImpl(v8::Local<v8::Object> object) { 42 static TestInterfaceNamedConstructor* toImpl(v8::Local<v8::Object> object) {
(...skipping 18 matching lines...) Expand all
60 }; 61 };
61 62
62 template <> 63 template <>
63 struct V8TypeOf<TestInterfaceNamedConstructor> { 64 struct V8TypeOf<TestInterfaceNamedConstructor> {
64 typedef V8TestInterfaceNamedConstructor Type; 65 typedef V8TestInterfaceNamedConstructor Type;
65 }; 66 };
66 67
67 } // namespace blink 68 } // namespace blink
68 69
69 #endif // V8TestInterfaceNamedConstructor_h 70 #endif // V8TestInterfaceNamedConstructor_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698