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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.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/V8TestInterfaceConstructor.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.h
index 0ed2335e9fbb376d546e752c3bb5015b4da8ed88..d9dfadbb1a8c78335d6ffa962fceea67d4c31dc9 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.h
@@ -21,42 +21,39 @@
namespace blink {
class V8TestInterfaceConstructorConstructor {
- STATIC_ONLY(V8TestInterfaceConstructorConstructor);
-public:
- static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
- static const WrapperTypeInfo wrapperTypeInfo;
+ STATIC_ONLY(V8TestInterfaceConstructorConstructor);
+ public:
+ static v8::Local<v8::FunctionTemplate> domTemplate(v8::Isolate*, const DOMWrapperWorld&);
+ static const WrapperTypeInfo wrapperTypeInfo;
};
class V8TestInterfaceConstructor {
- STATIC_ONLY(V8TestInterfaceConstructor);
-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 TestInterfaceConstructor* toImpl(v8::Local<v8::Object> object)
- {
- return toScriptWrappable(object)->toImpl<TestInterfaceConstructor>();
- }
- CORE_EXPORT static TestInterfaceConstructor* 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<TestInterfaceConstructor>());
- }
- static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable)
- {
- visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceConstructor>());
- }
- static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
+ STATIC_ONLY(V8TestInterfaceConstructor);
+ 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 TestInterfaceConstructor* toImpl(v8::Local<v8::Object> object) {
+ return toScriptWrappable(object)->toImpl<TestInterfaceConstructor>();
+ }
+ CORE_EXPORT static TestInterfaceConstructor* 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<TestInterfaceConstructor>());
+ }
+ static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrappable) {
+ visitor->traceWrappers(scriptWrappable->toImpl<TestInterfaceConstructor>());
+ }
+ static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
};
template <>
struct V8TypeOf<TestInterfaceConstructor> {
- typedef V8TestInterfaceConstructor Type;
+ typedef V8TestInterfaceConstructor Type;
};
-} // namespace blink
+} // namespace blink
-#endif // V8TestInterfaceConstructor_h
+#endif // V8TestInterfaceConstructor_h

Powered by Google App Engine
This is Rietveld 408576698