| Index: chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| diff --git a/chrome/browser/ui/app_list/app_list_view_delegate.cc b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| index e02d1c8fa23a27e5dba36dd98ce43f15c72e71e1..7c6dde20c64467f1540ff3535f3152e53f9ffe26 100644
|
| --- a/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| +++ b/chrome/browser/ui/app_list/app_list_view_delegate.cc
|
| @@ -271,6 +271,13 @@ void AppListViewDelegate::OpenFeedback() {
|
| chrome::kAppLauncherCategoryTag);
|
| }
|
|
|
| +void AppListViewDelegate::OnRightButtonClicked() {
|
| + app_list::StartPageService* service =
|
| + app_list::StartPageService::Get(profile_);
|
| + if (service)
|
| + service->ToggleSpeechRecognition();
|
| +}
|
| +
|
| void AppListViewDelegate::ShowForProfileByPath(
|
| const base::FilePath& profile_path) {
|
| controller_->ShowForProfileByPath(profile_path);
|
| @@ -280,6 +287,10 @@ void AppListViewDelegate::OnSearch(const base::string16& query) {
|
| model_->search_box()->SetText(query);
|
| }
|
|
|
| +void AppListViewDelegate::OnSpeechRecognitionStateChanged(bool recognizing) {
|
| + model_->search_box()->SetRightButtonState(recognizing);
|
| +}
|
| +
|
| void AppListViewDelegate::Observe(
|
| int type,
|
| const content::NotificationSource& source,
|
|
|