| Index: chrome/browser/speech/tts_request_handler.h
|
| diff --git a/chrome/browser/speech/tts_request_handler.h b/chrome/browser/speech/tts_request_handler.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..929cbe41068dfdee710c3264eaa7f99024b50061
|
| --- /dev/null
|
| +++ b/chrome/browser/speech/tts_request_handler.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_SPEECH_TTS_REQUEST_HANDLER_H_
|
| +#define CHROME_BROWSER_SPEECH_TTS_REQUEST_HANDLER_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "content/public/browser/tts_dispatcher_host.h"
|
| +
|
| +class TtsRequestHandler : public content::TtsDispatcherHostDelegate {
|
| + public:
|
| + TtsRequestHandler();
|
| + virtual ~TtsRequestHandler();
|
| +
|
| + // TtsDispatcherHostDelegate.
|
| + virtual void OnInitializeVoiceList(
|
| + content::TtsDispatcherHost* dispatcher_host,
|
| + int routing_id) OVERRIDE;
|
| + virtual void OnSpeak(content::TtsDispatcherHost* dispatcher_host,
|
| + int routing_id,
|
| + const content::TtsUtteranceRequest&) OVERRIDE;
|
| + virtual void OnPause(content::TtsDispatcherHost* dispatcher_host) OVERRIDE;
|
| + virtual void OnResume(content::TtsDispatcherHost* dispatcher_host) OVERRIDE;
|
| + virtual void OnCancel(content::TtsDispatcherHost* dispatcher_host) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(TtsRequestHandler);
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_SPEECH_TTS_REQUEST_HANDLER_H_
|
|
|