OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 5 #ifndef UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 6 #define UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 AppListTestModel* GetTestModel() { return model_.get(); } | 95 AppListTestModel* GetTestModel() { return model_.get(); } |
96 | 96 |
97 private: | 97 private: |
98 int dismiss_count_; | 98 int dismiss_count_; |
99 int toggle_speech_recognition_count_; | 99 int toggle_speech_recognition_count_; |
100 int open_search_result_count_; | 100 int open_search_result_count_; |
101 int next_profile_app_count_; | 101 int next_profile_app_count_; |
102 std::map<size_t, int> open_search_result_counts_; | 102 std::map<size_t, int> open_search_result_counts_; |
103 Users users_; | 103 Users users_; |
104 scoped_ptr<AppListTestModel> model_; | 104 scoped_ptr<AppListTestModel> model_; |
105 ObserverList<AppListViewDelegateObserver> observers_; | 105 base::ObserverList<AppListViewDelegateObserver> observers_; |
106 SpeechUIModel speech_ui_; | 106 SpeechUIModel speech_ui_; |
107 base::TimeDelta auto_launch_timeout_; | 107 base::TimeDelta auto_launch_timeout_; |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); | 109 DISALLOW_COPY_AND_ASSIGN(AppListTestViewDelegate); |
110 }; | 110 }; |
111 | 111 |
112 } // namespace test | 112 } // namespace test |
113 } // namespace app_list | 113 } // namespace app_list |
114 | 114 |
115 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ | 115 #endif // UI_APP_LIST_TEST_APP_LIST_TEST_VIEW_DELEGATE_H_ |
OLD | NEW |