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

Unified Diff: ios/public/provider/chrome/browser/voice/voice_search_presenter.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
« no previous file with comments | « ios/public/provider/chrome/browser/voice/voice_search_bar_owner.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/provider/chrome/browser/voice/voice_search_presenter.h
diff --git a/ios/public/provider/chrome/browser/voice/voice_search_presenter.h b/ios/public/provider/chrome/browser/voice/voice_search_presenter.h
new file mode 100644
index 0000000000000000000000000000000000000000..7b76a627880842585d6a80244d58f4b78d22630d
--- /dev/null
+++ b/ios/public/provider/chrome/browser/voice/voice_search_presenter.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_PRESENTER_H_
+#define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PRESENTER_H_
+
+#import <UIKit/UIKit.h>
+
+#import "ios/public/provider/chrome/browser/voice/logo_animation_controller.h"
+
+// Protocol used by UIViewControllers that present VoiceSearch.
+@protocol VoiceSearchPresenter<LogoAnimationControllerOwnerOwner, NSObject>
+
+// The button that was tapped in order to trigger VoiceSearch.
+@property(nonatomic, readonly) UIView* voiceSearchButton;
+
+@end
+
+#endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PRESENTER_H_
« no previous file with comments | « ios/public/provider/chrome/browser/voice/voice_search_bar_owner.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698