| Index: ui/app_list/test/app_list_test_view_delegate.h
|
| diff --git a/ui/app_list/test/app_list_test_view_delegate.h b/ui/app_list/test/app_list_test_view_delegate.h
|
| index ff929c61588b6326e2fccbb6e1c5d0858c7d668f..533e8d422948eb4f810c377de1816a3c95db14c0 100644
|
| --- a/ui/app_list/test/app_list_test_view_delegate.h
|
| +++ b/ui/app_list/test/app_list_test_view_delegate.h
|
| @@ -44,6 +44,10 @@ class AppListTestViewDelegate : public AppListViewDelegate {
|
| // one already.
|
| void SetSignedIn(bool signed_in);
|
|
|
| + // Returns the value of |toggle_speech_recognition_count_| and then
|
| + // resets this value to 0.
|
| + int GetToggleSpeechRecognitionCountAndReset();
|
| +
|
| // AppListViewDelegate overrides:
|
| virtual bool ForceNativeDesktop() const OVERRIDE;
|
| virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {}
|
| @@ -70,7 +74,7 @@ class AppListTestViewDelegate : public AppListViewDelegate {
|
| virtual void OpenSettings() OVERRIDE {}
|
| virtual void OpenHelp() OVERRIDE {}
|
| virtual void OpenFeedback() OVERRIDE {}
|
| - virtual void ToggleSpeechRecognition() OVERRIDE {}
|
| + virtual void ToggleSpeechRecognition() OVERRIDE;
|
| virtual void ShowForProfileByPath(
|
| const base::FilePath& profile_path) OVERRIDE {}
|
| virtual content::WebContents* GetStartPageContents() OVERRIDE;
|
| @@ -88,6 +92,7 @@ class AppListTestViewDelegate : public AppListViewDelegate {
|
|
|
| private:
|
| int dismiss_count_;
|
| + int toggle_speech_recognition_count_;
|
| int open_search_result_count_;
|
| std::map<size_t, int> open_search_result_counts_;
|
| Users users_;
|
|
|