| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 IOS_CHROME_BROWSER_UI_VOICE_VOICE_SEARCH_NOTIFICATION_NAMES_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_VOICE_VOICE_SEARCH_NOTIFICATION_NAMES_H_ |
| 7 |
| 8 #import <Foundation/Foundation.h> |
| 9 |
| 10 // Voice Search UI notifications. |
| 11 |
| 12 // Notification when the Voice Search UI is displayed. |
| 13 extern NSString* const kVoiceSearchWillShowNotification; |
| 14 // Notification when the Voice Search UI is dismissed. |
| 15 extern NSString* const kVoiceSearchWillHideNotification; |
| 16 |
| 17 // Text-To-Speech notifications. The sending objects for these notifications |
| 18 // are the TextToSpeechPlayers handling playback. |
| 19 |
| 20 // Notification when TTS audio data is prepared for playback. |
| 21 extern NSString* const kTTSAudioReadyForPlaybackNotification; |
| 22 // Notification when TTS starts playing. |
| 23 extern NSString* const kTTSWillStartPlayingNotification; |
| 24 // Notification when TTS stops playing. |
| 25 extern NSString* const kTTSDidStopPlayingNotification; |
| 26 |
| 27 // VoiceSearchBar notifications. |
| 28 |
| 29 // Notification when a VoiceSearchBar button is selected. |
| 30 extern NSString* const kVoiceSearchBarViewButtonSelectedNotification; |
| 31 // Notification when a VoiceSearchBar button is deselected. |
| 32 extern NSString* const kVoiceSearchBarViewButtonDeselectedNotification; |
| 33 |
| 34 #endif // IOS_CHROME_BROWSER_UI_VOICE_VOICE_SEARCH_NOTIFICATION_NAMES_H_ |
| OLD | NEW |