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

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

Issue 8539010: Cleanup: Remove unneeded forward declarations from chrome/browser/extensions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove the speech file that ran away, I will get it later Created 9 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) 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_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONTROLLER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONTROLLER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONTROLLER_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
14 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
15 15
16 class Extension; 16 class Extension;
17 class ExtensionTtsPlatformImpl; 17 class ExtensionTtsPlatformImpl;
18 class Profile; 18 class Profile;
19 19
20 namespace base { 20 namespace base {
21 class DictionaryValue;
22 class ListValue; 21 class ListValue;
23 class Value; 22 class Value;
24 } 23 }
25 24
26 // Events sent back from the TTS engine indicating the progress. 25 // Events sent back from the TTS engine indicating the progress.
27 enum TtsEventType { 26 enum TtsEventType {
28 TTS_EVENT_START, 27 TTS_EVENT_START,
29 TTS_EVENT_END, 28 TTS_EVENT_END,
30 TTS_EVENT_WORD, 29 TTS_EVENT_WORD,
31 TTS_EVENT_SENTENCE, 30 TTS_EVENT_SENTENCE,
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 std::queue<Utterance*> utterance_queue_; 248 std::queue<Utterance*> utterance_queue_;
250 249
251 // A pointer to the platform implementation of text-to-speech, for 250 // A pointer to the platform implementation of text-to-speech, for
252 // dependency injection. 251 // dependency injection.
253 ExtensionTtsPlatformImpl* platform_impl_; 252 ExtensionTtsPlatformImpl* platform_impl_;
254 253
255 DISALLOW_COPY_AND_ASSIGN(ExtensionTtsController); 254 DISALLOW_COPY_AND_ASSIGN(ExtensionTtsController);
256 }; 255 };
257 256
258 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONTROLLER_H_ 257 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_sync_data.h ('k') | chrome/browser/extensions/extension_web_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698