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

Unified Diff: chrome/browser/ui/app_list/app_list_service_impl.cc

Issue 631913004: Open the launcher when hotword is triggered in always-on mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hotword-google-com-ntp
Patch Set: Fix android build Created 6 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: chrome/browser/ui/app_list/app_list_service_impl.cc
diff --git a/chrome/browser/ui/app_list/app_list_service_impl.cc b/chrome/browser/ui/app_list/app_list_service_impl.cc
index 21f82f95e75be7e2d830b6a7bc9dda346a912679..a388c543e4eda2e67551c00940e29763cf7fb968 100644
--- a/chrome/browser/ui/app_list/app_list_service_impl.cc
+++ b/chrome/browser/ui/app_list/app_list_service_impl.cc
@@ -331,6 +331,11 @@ void AppListServiceImpl::Show() {
weak_factory_.GetWeakPtr()));
}
+void AppListServiceImpl::ShowForVoiceSearch(Profile* profile) {
+ ShowForProfile(profile);
+ view_delegate_->ToggleSpeechRecognition();
+}
+
void AppListServiceImpl::ShowForAppInstall(Profile* profile,
const std::string& extension_id,
bool start_discovery_tracking) {
« no previous file with comments | « chrome/browser/ui/app_list/app_list_service_impl.h ('k') | chrome/browser/ui/app_list/app_list_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698