| Index: ui/app_list/test/app_list_test_view_delegate.cc
|
| diff --git a/ui/app_list/test/app_list_test_view_delegate.cc b/ui/app_list/test/app_list_test_view_delegate.cc
|
| index ab712bfadbd1ea2224b1f6bd8701ad77da792a66..4052ea60160b06a1417c6168ef4bd0be200bba03 100644
|
| --- a/ui/app_list/test/app_list_test_view_delegate.cc
|
| +++ b/ui/app_list/test/app_list_test_view_delegate.cc
|
| @@ -52,6 +52,7 @@ class TestSigninDelegate : public SigninDelegate {
|
|
|
| AppListTestViewDelegate::AppListTestViewDelegate()
|
| : dismiss_count_(0),
|
| + toggle_speech_recognition_count_(0),
|
| open_search_result_count_(0),
|
| test_signin_delegate_(new TestSigninDelegate),
|
| model_(new AppListTestModel),
|
| @@ -67,6 +68,12 @@ void AppListTestViewDelegate::SetSignedIn(bool signed_in) {
|
| OnProfilesChanged());
|
| }
|
|
|
| +int AppListTestViewDelegate::GetToggleSpeechRecognitionCountAndReset() {
|
| + int count = toggle_speech_recognition_count_;
|
| + toggle_speech_recognition_count_ = 0;
|
| + return count;
|
| +}
|
| +
|
| bool AppListTestViewDelegate::ForceNativeDesktop() const {
|
| return false;
|
| }
|
| @@ -114,6 +121,10 @@ void AppListTestViewDelegate::Dismiss() {
|
| ++dismiss_count_;
|
| }
|
|
|
| +void AppListTestViewDelegate::ToggleSpeechRecognition() {
|
| + ++toggle_speech_recognition_count_;
|
| +}
|
| +
|
| gfx::ImageSkia AppListTestViewDelegate::GetWindowIcon() {
|
| return gfx::ImageSkia();
|
| }
|
|
|