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

Unified Diff: ios/chrome/browser/ui/voice/voice_search_notification_names.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/voice_search_notification_names.h
diff --git a/ios/chrome/browser/ui/voice/voice_search_notification_names.h b/ios/chrome/browser/ui/voice/voice_search_notification_names.h
new file mode 100644
index 0000000000000000000000000000000000000000..200a5ac80449548a244e75cd08c88fd57ffadc79
--- /dev/null
+++ b/ios/chrome/browser/ui/voice/voice_search_notification_names.h
@@ -0,0 +1,34 @@
+// 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_VOICE_SEARCH_NOTIFICATION_NAMES_H_
+#define IOS_CHROME_BROWSER_UI_VOICE_VOICE_SEARCH_NOTIFICATION_NAMES_H_
+
+#import <Foundation/Foundation.h>
+
+// Voice Search UI notifications.
+
+// Notification when the Voice Search UI is displayed.
+extern NSString* const kVoiceSearchWillShowNotification;
+// Notification when the Voice Search UI is dismissed.
+extern NSString* const kVoiceSearchWillHideNotification;
+
+// Text-To-Speech notifications. The sending objects for these notifications
+// are the TextToSpeechPlayers handling playback.
+
+// Notification when TTS audio data is prepared for playback.
+extern NSString* const kTTSAudioReadyForPlaybackNotification;
+// Notification when TTS starts playing.
+extern NSString* const kTTSWillStartPlayingNotification;
+// Notification when TTS stops playing.
+extern NSString* const kTTSDidStopPlayingNotification;
+
+// VoiceSearchBar notifications.
+
+// Notification when a VoiceSearchBar button is selected.
+extern NSString* const kVoiceSearchBarViewButtonSelectedNotification;
+// Notification when a VoiceSearchBar button is deselected.
+extern NSString* const kVoiceSearchBarViewButtonDeselectedNotification;
+
+#endif // IOS_CHROME_BROWSER_UI_VOICE_VOICE_SEARCH_NOTIFICATION_NAMES_H_

Powered by Google App Engine
This is Rietveld 408576698