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

Side by Side Diff: chrome/browser/extensions/extension_tts_api.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <string> 9 #include <string>
10 10
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 198
199 DISALLOW_COPY_AND_ASSIGN(ExtensionTtsController); 199 DISALLOW_COPY_AND_ASSIGN(ExtensionTtsController);
200 }; 200 };
201 201
202 // 202 //
203 // Extension API function definitions 203 // Extension API function definitions
204 // 204 //
205 205
206 class ExtensionTtsSpeakFunction : public AsyncExtensionFunction { 206 class ExtensionTtsSpeakFunction : public AsyncExtensionFunction {
207 private: 207 private:
208 ~ExtensionTtsSpeakFunction() {} 208 virtual ~ExtensionTtsSpeakFunction() {}
209 virtual bool RunImpl(); 209 virtual bool RunImpl();
210 void SpeechFinished(); 210 void SpeechFinished();
211 Utterance* utterance_; 211 Utterance* utterance_;
212 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.speak") 212 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.speak")
213 }; 213 };
214 214
215 class ExtensionTtsStopSpeakingFunction : public SyncExtensionFunction { 215 class ExtensionTtsStopSpeakingFunction : public SyncExtensionFunction {
216 private: 216 private:
217 ~ExtensionTtsStopSpeakingFunction() {} 217 virtual ~ExtensionTtsStopSpeakingFunction() {}
218 virtual bool RunImpl(); 218 virtual bool RunImpl();
219 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.stop") 219 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.stop")
220 }; 220 };
221 221
222 class ExtensionTtsIsSpeakingFunction : public SyncExtensionFunction { 222 class ExtensionTtsIsSpeakingFunction : public SyncExtensionFunction {
223 private: 223 private:
224 ~ExtensionTtsIsSpeakingFunction() {} 224 virtual ~ExtensionTtsIsSpeakingFunction() {}
225 virtual bool RunImpl(); 225 virtual bool RunImpl();
226 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.isSpeaking") 226 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.isSpeaking")
227 }; 227 };
228 228
229 class ExtensionTtsSpeakCompletedFunction : public SyncExtensionFunction { 229 class ExtensionTtsSpeakCompletedFunction : public SyncExtensionFunction {
230 private: 230 private:
231 ~ExtensionTtsSpeakCompletedFunction() {} 231 virtual ~ExtensionTtsSpeakCompletedFunction() {}
232 virtual bool RunImpl(); 232 virtual bool RunImpl();
233 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.speakCompleted") 233 DECLARE_EXTENSION_FUNCTION_NAME("experimental.tts.speakCompleted")
234 }; 234 };
235 235
236 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_ 236 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_toolbar_model.h ('k') | chrome/browser/extensions/extensions_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698