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

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

Issue 638813002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « Source/bindings/tests/results/core/TestDictionary.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 14
15 namespace blink { 15 namespace blink {
16 16
17 class V8TestCallbackInterface FINAL : public TestCallbackInterface, public Activ eDOMCallback { 17 class V8TestCallbackInterface final : public TestCallbackInterface, public Activ eDOMCallback {
18 public: 18 public:
19 static V8TestCallbackInterface* create(v8::Handle<v8::Function> callback, Sc riptState* scriptState) 19 static V8TestCallbackInterface* create(v8::Handle<v8::Function> callback, Sc riptState* scriptState)
20 { 20 {
21 return new V8TestCallbackInterface(callback, scriptState); 21 return new V8TestCallbackInterface(callback, scriptState);
22 } 22 }
23 23
24 virtual ~V8TestCallbackInterface(); 24 virtual ~V8TestCallbackInterface();
25 25
26 virtual void voidMethod() OVERRIDE; 26 virtual void voidMethod() override;
27 virtual bool booleanMethod() OVERRIDE; 27 virtual bool booleanMethod() override;
28 virtual void voidMethodBooleanArg(bool boolArg) OVERRIDE; 28 virtual void voidMethodBooleanArg(bool boolArg) override;
29 virtual void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty> > & sequenceArg) OVERRIDE; 29 virtual void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty> > & sequenceArg) override;
30 virtual void voidMethodFloatArg(float floatArg) OVERRIDE; 30 virtual void voidMethodFloatArg(float floatArg) override;
31 virtual void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfa ceEmptyArg) OVERRIDE; 31 virtual void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfa ceEmptyArg) override;
32 virtual void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testI nterfaceEmptyArg, const String& stringArg) OVERRIDE; 32 virtual void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testI nterfaceEmptyArg, const String& stringArg) override;
33 virtual void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const String& stringArg) OVERRIDE; 33 virtual void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const String& stringArg) override;
34 virtual void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testI nterfaceEmptyArg) OVERRIDE; 34 virtual void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testI nterfaceEmptyArg) override;
35 virtual void voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVec tor<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& sequenceArg) OVER RIDE; 35 virtual void voidMethodWillBeGarbageCollectedSequenceArg(const WillBeHeapVec tor<RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& sequenceArg) over ride;
36 virtual void voidMethodWillBeGarbageCollectedArrayArg(const WillBeHeapVector <RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& arrayArg) OVERRIDE; 36 virtual void voidMethodWillBeGarbageCollectedArrayArg(const WillBeHeapVector <RefPtrWillBeMember<TestInterfaceWillBeGarbageCollected> >& arrayArg) override;
37 private: 37 private:
38 V8TestCallbackInterface(v8::Handle<v8::Function>, ScriptState*); 38 V8TestCallbackInterface(v8::Handle<v8::Function>, ScriptState*);
39 39
40 ScopedPersistent<v8::Function> m_callback; 40 ScopedPersistent<v8::Function> m_callback;
41 RefPtr<ScriptState> m_scriptState; 41 RefPtr<ScriptState> m_scriptState;
42 }; 42 };
43 43
44 } 44 }
45 #endif // V8TestCallbackInterface_h 45 #endif // V8TestCallbackInterface_h
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/core/TestDictionary.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698