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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h

Issue 2446213002: [Bindings] [Reformat] Reformat template files (Closed)
Patch Set: Rebase (Split out Callbackfunctions) Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
index 927a77f67ffdd2c7a5b614b92bcb52211a7b9fa0..c2e2138223b3b5998206e91163518eb0578cdf2b 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceGarbageCollected.h
@@ -21,36 +21,33 @@
namespace blink {
class V8TestInterfaceGarbageCollected {
- STATIC_ONLY(V8TestInterfaceGarbageCollected);
-public:
- CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
- static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
- CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
- static TestInterfaceGarbageCollected* toImpl(v8::Local<v8::Object> object)
- {
- return toScriptWrappable(object)->toImpl<TestInterfaceGarbageCollected>();
- }
- CORE_EXPORT static TestInterfaceGarbageCollected* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
- CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
- template<typename VisitorDispatcher>
- static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable)
- {
- visitor->trace(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
- }
- static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
- {
- visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
- }
- static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
- static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
+ STATIC_ONLY(V8TestInterfaceGarbageCollected);
+ public:
+ CORE_EXPORT static bool hasInstance(v8::Local<v8::Value>, v8::Isolate*);
+ static v8::Local<v8::Object> findInstanceInPrototypeChain(v8::Local<v8::Value>, v8::Isolate*);
+ CORE_EXPORT static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
+ static TestInterfaceGarbageCollected* toImpl(v8::Local<v8::Object> object) {
+ return toScriptWrappable(object)->toImpl<TestInterfaceGarbageCollected>();
+ }
+ CORE_EXPORT static TestInterfaceGarbageCollected* toImplWithTypeCheck(v8::Isolate*, v8::Local<v8::Value>);
+ CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
+ template<typename VisitorDispatcher>
+ static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
+ visitor->trace(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
+ }
+ static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {
+ visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceGarbageCollected>());
+ }
+ static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0;
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1;
};
template <>
struct V8TypeOf<TestInterfaceGarbageCollected> {
- typedef V8TestInterfaceGarbageCollected Type;
+ typedef V8TestInterfaceGarbageCollected Type;
};
-} // namespace blink
+} // namespace blink
-#endif // V8TestInterfaceGarbageCollected_h
+#endif // V8TestInterfaceGarbageCollected_h

Powered by Google App Engine
This is Rietveld 408576698