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

Side by Side Diff: Source/platform/speech/PlatformSpeechSynthesisUtterance.h

Issue 631803002: Replacing the OVERRIDE with override and FINAL with final (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase issue 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2013 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 22 matching lines...) Expand all
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class PlatformSpeechSynthesisUtteranceClient : public GarbageCollectedMixin { 36 class PlatformSpeechSynthesisUtteranceClient : public GarbageCollectedMixin {
37 public: 37 public:
38 // Implement methods as needed. 38 // Implement methods as needed.
39 protected: 39 protected:
40 virtual ~PlatformSpeechSynthesisUtteranceClient() { } 40 virtual ~PlatformSpeechSynthesisUtteranceClient() { }
41 }; 41 };
42 42
43 class PLATFORM_EXPORT PlatformSpeechSynthesisUtterance FINAL : public GarbageCol lectedFinalized<PlatformSpeechSynthesisUtterance> { 43 class PLATFORM_EXPORT PlatformSpeechSynthesisUtterance final : public GarbageCol lectedFinalized<PlatformSpeechSynthesisUtterance> {
44 public: 44 public:
45 static PlatformSpeechSynthesisUtterance* create(PlatformSpeechSynthesisUtter anceClient*); 45 static PlatformSpeechSynthesisUtterance* create(PlatformSpeechSynthesisUtter anceClient*);
46 46
47 const String& text() const { return m_text; } 47 const String& text() const { return m_text; }
48 void setText(const String& text) { m_text = text; } 48 void setText(const String& text) { m_text = text; }
49 49
50 const String& lang() const { return m_lang; } 50 const String& lang() const { return m_lang; }
51 void setLang(const String& lang) { m_lang = lang; } 51 void setLang(const String& lang) { m_lang = lang; }
52 52
53 PlatformSpeechSynthesisVoice* voice() const { return m_voice; } 53 PlatformSpeechSynthesisVoice* voice() const { return m_voice; }
(...skipping 27 matching lines...) Expand all
81 Member<PlatformSpeechSynthesisVoice> m_voice; 81 Member<PlatformSpeechSynthesisVoice> m_voice;
82 float m_volume; 82 float m_volume;
83 float m_rate; 83 float m_rate;
84 float m_pitch; 84 float m_pitch;
85 double m_startTime; 85 double m_startTime;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // PlatformSpeechSynthesisUtterance_h 90 #endif // PlatformSpeechSynthesisUtterance_h
OLDNEW
« no previous file with comments | « Source/platform/scroll/ScrollbarThemeOverlayMock.h ('k') | Source/platform/speech/PlatformSpeechSynthesisVoice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698