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

Unified Diff: ios/chrome/browser/ui/voice/text_to_speech_player+subclassing.h

Issue 2449593002: [ios] Adds support for parsing Text-to-Speech search results. (Closed)
Patch Set: Disabled Created 4 years, 2 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: ios/chrome/browser/ui/voice/text_to_speech_player+subclassing.h
diff --git a/ios/chrome/browser/ui/voice/text_to_speech_player+subclassing.h b/ios/chrome/browser/ui/voice/text_to_speech_player+subclassing.h
new file mode 100644
index 0000000000000000000000000000000000000000..cf283f65b0b42b8aeb1eadd95b6bc91a60854bf4
--- /dev/null
+++ b/ios/chrome/browser/ui/voice/text_to_speech_player+subclassing.h
@@ -0,0 +1,20 @@
+// Copyright 2016 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 IOS_CHROME_BROWSER_UI_VOICE_TEXT_TO_SPEECH_PLAYER_SUBCLASSING_H_
+#define IOS_CHROME_BROWSER_UI_VOICE_TEXT_TO_SPEECH_PLAYER_SUBCLASSING_H_
+
+#import "ios/chrome/browser/ui/voice/text_to_speech_player.h"
+
+@class AVAudioPlayer;
+
+// Category exposing the AVAudioPlayer to subclasses.
+@interface TextToSpeechPlayer (Subclassing)
+
+// The AVAudioPlayer that is used to play TTS audio data.
+@property(nonatomic, readonly) AVAudioPlayer* player;
+
+@end
+
+#endif // IOS_CHROME_BROWSER_UI_VOICE_TEXT_TO_SPEECH_PLAYER_SUBCLASSING_H_
« no previous file with comments | « ios/chrome/browser/ui/voice/text_to_speech_player.mm ('k') | ios/chrome/browser/ui/voice/text_to_speech_player_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698