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

Unified Diff: ios/public/provider/chrome/browser/voice/voice_search_controller.mm

Issue 2453003002: [ios] Adds a VoiceSearchController interface to the provider layer. (Closed)
Patch Set: Rebased. 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_controller.mm
diff --git a/ios/public/provider/chrome/browser/voice/voice_search_controller.mm b/ios/public/provider/chrome/browser/voice/voice_search_controller.mm
new file mode 100644
index 0000000000000000000000000000000000000000..66209e5155f4df5b3feb5763cb77d0bf2e5019ad
--- /dev/null
+++ b/ios/public/provider/chrome/browser/voice/voice_search_controller.mm
@@ -0,0 +1,38 @@
+// Copyright 2012 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.
+
+#import "ios/public/provider/chrome/browser/voice/voice_search_controller.h"
+
+#import <UIKit/UIKit.h>
+
+VoiceSearchController::VoiceSearchController() {}
+
+VoiceSearchController::~VoiceSearchController() {}
+
+void VoiceSearchController::SetDelegate(
+ id<VoiceSearchControllerDelegate> delegate) {}
+
+void VoiceSearchController::PrepareToAppear() {}
+
+void VoiceSearchController::StartRecognition(
+ UIViewController* presenting_view_controller,
+ Tab* current_tab) {}
+
+bool VoiceSearchController::IsTextToSpeechEnabled() {
+ return false;
+}
+
+bool VoiceSearchController::IsTextToSpeechSupported() {
+ return false;
+}
+
+bool VoiceSearchController::IsVisible() {
+ return false;
+}
+
+bool VoiceSearchController::IsPlayingAudio() {
+ return false;
+}
+
+void VoiceSearchController::DismissMicPermissionsHelp() {}

Powered by Google App Engine
This is Rietveld 408576698