OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |