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

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

Issue 9808024: Move TTS extension API to chrome/browser/speech/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix chromeos compile error, rebase Created 8 years, 9 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
7
8 #include <string>
9
10 #include "chrome/browser/extensions/extension_function.h"
11 #include "chrome/browser/extensions/extension_tts_api_controller.h"
12
13 class ExtensionTtsSpeakFunction
14 : public AsyncExtensionFunction {
15 private:
16 virtual ~ExtensionTtsSpeakFunction() {}
17 virtual bool RunImpl() OVERRIDE;
18 DECLARE_EXTENSION_FUNCTION_NAME("tts.speak")
19 };
20
21 class ExtensionTtsStopSpeakingFunction : public SyncExtensionFunction {
22 private:
23 virtual ~ExtensionTtsStopSpeakingFunction() {}
24 virtual bool RunImpl() OVERRIDE;
25 DECLARE_EXTENSION_FUNCTION_NAME("tts.stop")
26 };
27
28 class ExtensionTtsIsSpeakingFunction : public SyncExtensionFunction {
29 private:
30 virtual ~ExtensionTtsIsSpeakingFunction() {}
31 virtual bool RunImpl() OVERRIDE;
32 DECLARE_EXTENSION_FUNCTION_NAME("tts.isSpeaking")
33 };
34
35 class ExtensionTtsGetVoicesFunction : public SyncExtensionFunction {
36 private:
37 virtual ~ExtensionTtsGetVoicesFunction() {}
38 virtual bool RunImpl() OVERRIDE;
39 DECLARE_EXTENSION_FUNCTION_NAME("tts.getVoices")
40 };
41
42 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_registry.cc ('k') | chrome/browser/extensions/extension_tts_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698