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_VIEWS_APP_LIST_MAIN_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 AppListViewDelegate* delegate_; // Owned by parent view (AppListView). | 117 AppListViewDelegate* delegate_; // Owned by parent view (AppListView). |
118 AppListModel* model_; // Unowned; ownership is handled by |delegate_|. | 118 AppListModel* model_; // Unowned; ownership is handled by |delegate_|. |
119 | 119 |
120 // Created by AppListView. Owned by views hierarchy. | 120 // Created by AppListView. Owned by views hierarchy. |
121 SearchBoxView* search_box_view_; | 121 SearchBoxView* search_box_view_; |
122 ContentsView* contents_view_; // Owned by views hierarchy. | 122 ContentsView* contents_view_; // Owned by views hierarchy. |
123 | 123 |
124 // A timer that fires when maximum allowed time to wait for icon loading has | 124 // A timer that fires when maximum allowed time to wait for icon loading has |
125 // passed. | 125 // passed. |
126 base::OneShotTimer<AppListMainView> icon_loading_wait_timer_; | 126 base::OneShotTimer icon_loading_wait_timer_; |
127 | 127 |
128 ScopedVector<IconLoader> pending_icon_loaders_; | 128 ScopedVector<IconLoader> pending_icon_loaders_; |
129 | 129 |
130 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; | 130 base::WeakPtrFactory<AppListMainView> weak_ptr_factory_; |
131 | 131 |
132 DISALLOW_COPY_AND_ASSIGN(AppListMainView); | 132 DISALLOW_COPY_AND_ASSIGN(AppListMainView); |
133 }; | 133 }; |
134 | 134 |
135 } // namespace app_list | 135 } // namespace app_list |
136 | 136 |
137 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ | 137 #endif // UI_APP_LIST_VIEWS_APP_LIST_MAIN_VIEW_H_ |
OLD | NEW |