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

Unified Diff: Source/modules/speech/SpeechSynthesis.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/speech/SpeechRecognitionResult.h ('k') | Source/modules/speech/SpeechSynthesisEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechSynthesis.h
diff --git a/Source/modules/speech/SpeechSynthesis.h b/Source/modules/speech/SpeechSynthesis.h
index 73cfc635069bbafdee9d06d24568ba4a3bd5f365..25e02d13e221e85568482826fcbc559ba9e86107 100644
--- a/Source/modules/speech/SpeechSynthesis.h
+++ b/Source/modules/speech/SpeechSynthesis.h
@@ -39,7 +39,7 @@ namespace blink {
class ExceptionState;
class PlatformSpeechSynthesizerClient;
-class SpeechSynthesis FINAL : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SpeechSynthesis>, public PlatformSpeechSynthesizerClient, public ContextLifecycleObserver, public EventTargetWithInlineData {
+class SpeechSynthesis final : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SpeechSynthesis>, public PlatformSpeechSynthesizerClient, public ContextLifecycleObserver, public EventTargetWithInlineData {
DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<SpeechSynthesis>);
DEFINE_WRAPPERTYPEINFO();
USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesis);
@@ -62,21 +62,21 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(voiceschanged);
- virtual ExecutionContext* executionContext() const OVERRIDE;
+ virtual ExecutionContext* executionContext() const override;
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit SpeechSynthesis(ExecutionContext*);
// PlatformSpeechSynthesizerClient override methods.
- virtual void voicesDidChange() OVERRIDE;
- virtual void didStartSpeaking(PlatformSpeechSynthesisUtterance*) OVERRIDE;
- virtual void didPauseSpeaking(PlatformSpeechSynthesisUtterance*) OVERRIDE;
- virtual void didResumeSpeaking(PlatformSpeechSynthesisUtterance*) OVERRIDE;
- virtual void didFinishSpeaking(PlatformSpeechSynthesisUtterance*) OVERRIDE;
- virtual void speakingErrorOccurred(PlatformSpeechSynthesisUtterance*) OVERRIDE;
- virtual void boundaryEventOccurred(PlatformSpeechSynthesisUtterance*, SpeechBoundary, unsigned charIndex) OVERRIDE;
+ virtual void voicesDidChange() override;
+ virtual void didStartSpeaking(PlatformSpeechSynthesisUtterance*) override;
+ virtual void didPauseSpeaking(PlatformSpeechSynthesisUtterance*) override;
+ virtual void didResumeSpeaking(PlatformSpeechSynthesisUtterance*) override;
+ virtual void didFinishSpeaking(PlatformSpeechSynthesisUtterance*) override;
+ virtual void speakingErrorOccurred(PlatformSpeechSynthesisUtterance*) override;
+ virtual void boundaryEventOccurred(PlatformSpeechSynthesisUtterance*, SpeechBoundary, unsigned charIndex) override;
void startSpeakingImmediately();
void handleSpeakingCompleted(SpeechSynthesisUtterance*, bool errorOccurred);
@@ -91,7 +91,7 @@ private:
bool m_isPaused;
// EventTarget
- virtual const AtomicString& interfaceName() const OVERRIDE;
+ virtual const AtomicString& interfaceName() const override;
};
} // namespace blink
« no previous file with comments | « Source/modules/speech/SpeechRecognitionResult.h ('k') | Source/modules/speech/SpeechSynthesisEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698