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

Unified Diff: ios/public/provider/chrome/browser/voice/voice_search_bar_owner.h

Issue 2459533002: [ios] Adds protocols for voice search. (Closed)
Patch Set: Typo. 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/public/provider/chrome/browser/voice/voice_search_bar_owner.h
diff --git a/ios/public/provider/chrome/browser/voice/voice_search_bar_owner.h b/ios/public/provider/chrome/browser/voice/voice_search_bar_owner.h
new file mode 100644
index 0000000000000000000000000000000000000000..5ff7704e49f2a124fa72b492eac8c1776c5c5cd9
--- /dev/null
+++ b/ios/public/provider/chrome/browser/voice/voice_search_bar_owner.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_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_BAR_OWNER_H_
+#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_BAR_OWNER_H_
+
+#import <Foundation/Foundation.h>
+
+@protocol VoiceSearchBar;
+
+// Protocol implemented by UIViewControllers that own a VoiceSearchBar.
+@protocol VoiceSearchBarOwner<NSObject>
+
+// The VoiceSearchBar.
+@property(nonatomic, readonly) id<VoiceSearchBar> voiceSearchBar;
+
+@end
+
+#endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_BAR_OWNER_H_

Powered by Google App Engine
This is Rietveld 408576698