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

Side by Side Diff: chrome/browser/speech/extension_api/tts_engine_extension_api.h

Issue 64273006: Move ExtensionFunction to the extensions component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_ 5 #ifndef CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_ 6 #define CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "chrome/browser/extensions/extension_function.h"
12 #include "chrome/browser/speech/tts_controller.h" 11 #include "chrome/browser/speech/tts_controller.h"
12 #include "extensions/browser/extension_function.h"
13 13
14 class Utterance; 14 class Utterance;
15 15
16 namespace base { 16 namespace base {
17 class ListValue; 17 class ListValue;
18 } 18 }
19 19
20 namespace extensions { 20 namespace extensions {
21 class Extension; 21 class Extension;
22 } 22 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Hidden/internal extension function used to allow TTS engine extensions 58 // Hidden/internal extension function used to allow TTS engine extensions
59 // to send events back to the client that's calling tts.speak(). 59 // to send events back to the client that's calling tts.speak().
60 class ExtensionTtsEngineSendTtsEventFunction : public SyncExtensionFunction { 60 class ExtensionTtsEngineSendTtsEventFunction : public SyncExtensionFunction {
61 private: 61 private:
62 virtual ~ExtensionTtsEngineSendTtsEventFunction() {} 62 virtual ~ExtensionTtsEngineSendTtsEventFunction() {}
63 virtual bool RunImpl() OVERRIDE; 63 virtual bool RunImpl() OVERRIDE;
64 DECLARE_EXTENSION_FUNCTION("ttsEngine.sendTtsEvent", TTSENGINE_SENDTTSEVENT) 64 DECLARE_EXTENSION_FUNCTION("ttsEngine.sendTtsEvent", TTSENGINE_SENDTTSEVENT)
65 }; 65 };
66 66
67 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_ 67 #endif // CHROME_BROWSER_SPEECH_EXTENSION_API_TTS_ENGINE_EXTENSION_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/pepper/pepper_extensions_common_message_filter.h ('k') | chrome/browser/speech/tts_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698