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

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

Issue 2454133002: [Bindings] Reformat template files for Interface (1/4) (Closed)
Patch Set: Rebase 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/V8TestCallbackInterface.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h b/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h
index b4a81a2cb2b0e0071610c04e53b95902fa2338d4..0c249cde2f69cedb1e622729a3a18ef5bbd33f47 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestCallbackInterface.h
@@ -17,31 +17,30 @@
namespace blink {
class V8TestCallbackInterface final : public TestCallbackInterface, public ActiveDOMCallback {
- USING_GARBAGE_COLLECTED_MIXIN(V8TestCallbackInterface);
-public:
- static V8TestCallbackInterface* create(v8::Local<v8::Function> callback, ScriptState* scriptState)
- {
- return new V8TestCallbackInterface(callback, scriptState);
- }
-
- ~V8TestCallbackInterface() override;
-
- DECLARE_VIRTUAL_TRACE();
-
- void voidMethod() override;
- bool booleanMethod() override;
- void voidMethodBooleanArg(bool boolArg) override;
- void voidMethodSequenceArg(const HeapVector<Member<TestInterfaceEmpty>>& sequenceArg) override;
- void voidMethodFloatArg(float floatArg) override;
- void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyArg) override;
- void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testInterfaceEmptyArg, const String& stringArg) override;
- void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const String& stringArg) override;
- void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyArg) override;
-private:
- CORE_EXPORT V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*);
-
- ScopedPersistent<v8::Function> m_callback;
- RefPtr<ScriptState> m_scriptState;
+ USING_GARBAGE_COLLECTED_MIXIN(V8TestCallbackInterface);
+ public:
+ static V8TestCallbackInterface* create(v8::Local<v8::Function> callback, ScriptState* scriptState) {
+ return new V8TestCallbackInterface(callback, scriptState);
+ }
+
+ ~V8TestCallbackInterface() override;
+
+ DECLARE_VIRTUAL_TRACE();
+
+ void voidMethod() override;
+ bool booleanMethod() override;
+ void voidMethodBooleanArg(bool boolArg) override;
+ void voidMethodSequenceArg(const HeapVector<Member<TestInterfaceEmpty>>& sequenceArg) override;
+ void voidMethodFloatArg(float floatArg) override;
+ void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyArg) override;
+ void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testInterfaceEmptyArg, const String& stringArg) override;
+ void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const String& stringArg) override;
+ void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyArg) override;
+ private:
+ CORE_EXPORT V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*);
+
+ ScopedPersistent<v8::Function> m_callback;
+ RefPtr<ScriptState> m_scriptState;
};
}
-#endif // V8TestCallbackInterface_h
+#endif // V8TestCallbackInterface_h

Powered by Google App Engine
This is Rietveld 408576698