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

Side by Side Diff: ui/app_list/test/app_list_test_view_delegate.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « ui/app_list/speech_ui_model.h ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/app_list/speech_ui_model.h ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698