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

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

Issue 1236473002: Fix virtual/override/final usage in Source/bindings/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/bindings/templates/callback_interface.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 V8TestCallbackInterface_h 7 #ifndef V8TestCallbackInterface_h
8 #define V8TestCallbackInterface_h 8 #define V8TestCallbackInterface_h
9 9
10 #include "bindings/core/v8/ActiveDOMCallback.h" 10 #include "bindings/core/v8/ActiveDOMCallback.h"
11 #include "bindings/core/v8/DOMWrapperWorld.h" 11 #include "bindings/core/v8/DOMWrapperWorld.h"
12 #include "bindings/core/v8/ScopedPersistent.h" 12 #include "bindings/core/v8/ScopedPersistent.h"
13 #include "bindings/tests/idls/core/TestCallbackInterface.h" 13 #include "bindings/tests/idls/core/TestCallbackInterface.h"
14 #include "core/CoreExport.h" 14 #include "core/CoreExport.h"
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class V8TestCallbackInterface final : public TestCallbackInterface, public Activ eDOMCallback { 18 class V8TestCallbackInterface final : public TestCallbackInterface, public Activ eDOMCallback {
19 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(V8TestCallbackInterface); 19 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(V8TestCallbackInterface);
20 public: 20 public:
21 static V8TestCallbackInterface* create(v8::Local<v8::Function> callback, Scr iptState* scriptState) 21 static V8TestCallbackInterface* create(v8::Local<v8::Function> callback, Scr iptState* scriptState)
22 { 22 {
23 return new V8TestCallbackInterface(callback, scriptState); 23 return new V8TestCallbackInterface(callback, scriptState);
24 } 24 }
25 25
26 virtual ~V8TestCallbackInterface(); 26 ~V8TestCallbackInterface() override;
27 27
28 DECLARE_VIRTUAL_TRACE(); 28 DECLARE_VIRTUAL_TRACE();
29 29
30 virtual void voidMethod() override; 30 void voidMethod() override;
31 virtual bool booleanMethod() override; 31 bool booleanMethod() override;
32 virtual void voidMethodBooleanArg(bool boolArg) override; 32 void voidMethodBooleanArg(bool boolArg) override;
33 virtual void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty>>& sequenceArg) override; 33 void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty>>& sequenc eArg) override;
34 virtual void voidMethodFloatArg(float floatArg) override; 34 void voidMethodFloatArg(float floatArg) override;
35 virtual void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfa ceEmptyArg) override; 35 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyA rg) override;
36 virtual void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testI nterfaceEmptyArg, const String& stringArg) override; 36 void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testInterface EmptyArg, const String& stringArg) override;
37 virtual void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const String& stringArg) override; 37 void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const S tring& stringArg) override;
38 virtual void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testI nterfaceEmptyArg) override; 38 void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterface EmptyArg) override;
39 virtual void voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVec tor<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected>>& sequenceArg) overr ide; 39 void voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVector<RefP trWillBeMember<TestInterfaceWillBeGarbageCollected>>& sequenceArg) override;
40 virtual void voidMethodWillBeGarbageCollectedArrayArg(const WillBeHeapVector <RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected>>& arrayArg) override; 40 void voidMethodWillBeGarbageCollectedArrayArg(const WillBeHeapVector<RefPtrW illBeMember<TestInterfaceWillBeGarbageCollected>>& arrayArg) override;
41 private: 41 private:
42 CORE_EXPORT V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*); 42 CORE_EXPORT V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*);
43 43
44 ScopedPersistent<v8::Function> m_callback; 44 ScopedPersistent<v8::Function> m_callback;
45 RefPtr<ScriptState> m_scriptState; 45 RefPtr<ScriptState> m_scriptState;
46 }; 46 };
47 47
48 } 48 }
49 #endif // V8TestCallbackInterface_h 49 #endif // V8TestCallbackInterface_h
OLDNEW
« no previous file with comments | « Source/bindings/templates/callback_interface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698