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

Side by Side Diff: chrome/browser/speech/tts_request_handler.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Created 7 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 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_SPEECH_TTS_REQUEST_HANDLER_H_
6 #define CHROME_BROWSER_SPEECH_TTS_REQUEST_HANDLER_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/public/browser/tts_dispatcher_host.h"
10
11 class TtsRequestHandler : public content::TtsDispatcherHostDelegate {
12 public:
13 TtsRequestHandler();
14 virtual ~TtsRequestHandler();
15
16 // TtsDispatcherHostDelegate.
17 virtual void OnInitializeVoiceList(
18 content::TtsDispatcherHost* dispatcher_host,
19 int routing_id) OVERRIDE;
20 virtual void OnSpeak(content::TtsDispatcherHost* dispatcher_host,
21 int routing_id,
22 const content::TtsUtteranceRequest&) OVERRIDE;
23 virtual void OnPause(content::TtsDispatcherHost* dispatcher_host) OVERRIDE;
24 virtual void OnResume(content::TtsDispatcherHost* dispatcher_host) OVERRIDE;
25 virtual void OnCancel(content::TtsDispatcherHost* dispatcher_host) OVERRIDE;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(TtsRequestHandler);
29 };
30
31 #endif // CHROME_BROWSER_SPEECH_TTS_REQUEST_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698