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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_tts_api.h
diff --git a/chrome/browser/extensions/extension_tts_api.h b/chrome/browser/extensions/extension_tts_api.h
deleted file mode 100644
index a651bca79efc064fc884df0af9bb03fa8a03da15..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/extension_tts_api.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2011 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_EXTENSIONS_EXTENSION_TTS_API_H_
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
-
-#include <string>
-
-#include "chrome/browser/extensions/extension_function.h"
-#include "chrome/browser/extensions/extension_tts_api_controller.h"
-
-class ExtensionTtsSpeakFunction
- : public AsyncExtensionFunction {
- private:
- virtual ~ExtensionTtsSpeakFunction() {}
- virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("tts.speak")
-};
-
-class ExtensionTtsStopSpeakingFunction : public SyncExtensionFunction {
- private:
- virtual ~ExtensionTtsStopSpeakingFunction() {}
- virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("tts.stop")
-};
-
-class ExtensionTtsIsSpeakingFunction : public SyncExtensionFunction {
- private:
- virtual ~ExtensionTtsIsSpeakingFunction() {}
- virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("tts.isSpeaking")
-};
-
-class ExtensionTtsGetVoicesFunction : public SyncExtensionFunction {
- private:
- virtual ~ExtensionTtsGetVoicesFunction() {}
- virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION_NAME("tts.getVoices")
-};
-
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TTS_API_H_
« 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