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

Side by Side Diff: Source/bindings/tests/results/core/V8TestInterfaceWillBeGarbageCollected.h

Issue 1112793002: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing buildIssues Created 5 years, 7 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #ifndef V8TestInterfaceWillBeGarbageCollected_h 7 #ifndef V8TestInterfaceWillBeGarbageCollected_h
8 #define V8TestInterfaceWillBeGarbageCollected_h 8 #define V8TestInterfaceWillBeGarbageCollected_h
9 9
10 #include "bindings/core/v8/ScriptWrappable.h" 10 #include "bindings/core/v8/ScriptWrappable.h"
(...skipping 14 matching lines...) Expand all
25 static const WrapperTypeInfo wrapperTypeInfo; 25 static const WrapperTypeInfo wrapperTypeInfo;
26 }; 26 };
27 27
28 class V8TestInterfaceWillBeGarbageCollected { 28 class V8TestInterfaceWillBeGarbageCollected {
29 public: 29 public:
30 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*); 30 CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
31 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu e>, v8::Isolate*); 31 static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Valu e>, v8::Isolate*);
32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*) ; 32 CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*) ;
33 static TestInterfaceWillBeGarbageCollected* toImpl(v8::Local<v8::Object> obj ect) 33 static TestInterfaceWillBeGarbageCollected* toImpl(v8::Local<v8::Object> obj ect)
34 { 34 {
35 return blink::toScriptWrappable(object)->toImpl<TestInterfaceWillBeGarba geCollected>(); 35 return toScriptWrappable(object)->toImpl<TestInterfaceWillBeGarbageColle cted>();
36 } 36 }
37 CORE_EXPORT static TestInterfaceWillBeGarbageCollected* toImplWithTypeCheck( v8::Isolate*, v8::Local<v8::Value>); 37 CORE_EXPORT static TestInterfaceWillBeGarbageCollected* toImplWithTypeCheck( v8::Isolate*, v8::Local<v8::Value>);
38 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; 38 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
39 static void refObject(ScriptWrappable*); 39 static void refObject(ScriptWrappable*);
40 static void derefObject(ScriptWrappable*); 40 static void derefObject(ScriptWrappable*);
41 template<typename VisitorDispatcher> 41 template<typename VisitorDispatcher>
42 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl e) 42 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappabl e)
43 { 43 {
44 #if ENABLE(OILPAN) 44 #if ENABLE(OILPAN)
45 visitor->trace(scriptWrappable->toImpl<TestInterfaceWillBeGarbageCollect ed>()); 45 visitor->trace(scriptWrappable->toImpl<TestInterfaceWillBeGarbageCollect ed>());
46 #endif 46 #endif
47 } 47 }
48 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&); 48 static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
49 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun t + 0; 49 static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCoun t + 0;
50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1 ; 50 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1 ;
51 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*) { } 51 static void installConditionallyEnabledProperties(v8::Local<v8::Object>, v8: :Isolate*) { }
52 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>) { } 52 static void preparePrototypeObject(v8::Isolate*, v8::Local<v8::Object>) { }
53 }; 53 };
54 54
55 template <> 55 template <>
56 struct V8TypeOf<TestInterfaceWillBeGarbageCollected> { 56 struct V8TypeOf<TestInterfaceWillBeGarbageCollected> {
57 typedef V8TestInterfaceWillBeGarbageCollected Type; 57 typedef V8TestInterfaceWillBeGarbageCollected Type;
58 }; 58 };
59 59
60 } // namespace blink 60 } // namespace blink
61 61
62 #endif // V8TestInterfaceWillBeGarbageCollected_h 62 #endif // V8TestInterfaceWillBeGarbageCollected_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698