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

Side by Side Diff: ui/app_list/views/app_list_view.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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_VIEWS_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 SpeechView* speech_view_; 174 SpeechView* speech_view_;
175 175
176 views::View* search_box_focus_host_; // Owned by the views hierarchy. 176 views::View* search_box_focus_host_; // Owned by the views hierarchy.
177 views::Widget* search_box_widget_; // Owned by the app list's widget. 177 views::Widget* search_box_widget_; // Owned by the app list's widget.
178 SearchBoxView* search_box_view_; // Owned by |search_box_widget_|. 178 SearchBoxView* search_box_view_; // Owned by |search_box_widget_|.
179 179
180 // A semi-transparent white overlay that covers the app list while dialogs are 180 // A semi-transparent white overlay that covers the app list while dialogs are
181 // open. 181 // open.
182 views::View* overlay_view_; 182 views::View* overlay_view_;
183 183
184 ObserverList<AppListViewObserver> observers_; 184 base::ObserverList<AppListViewObserver> observers_;
185 scoped_ptr<HideViewAnimationObserver> animation_observer_; 185 scoped_ptr<HideViewAnimationObserver> animation_observer_;
186 186
187 // For UMA and testing. If non-null, triggered when the app list is painted. 187 // For UMA and testing. If non-null, triggered when the app list is painted.
188 base::Closure next_paint_callback_; 188 base::Closure next_paint_callback_;
189 189
190 DISALLOW_COPY_AND_ASSIGN(AppListView); 190 DISALLOW_COPY_AND_ASSIGN(AppListView);
191 }; 191 };
192 192
193 } // namespace app_list 193 } // namespace app_list
194 194
195 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 195 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/test/app_list_test_view_delegate.h ('k') | ui/app_list/views/top_icon_animation_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698