Chromium Code Reviews| 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_APPS_GRID_VIEW_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 
| 6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 6 #define UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 
| 7 | 7 | 
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" | 
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" | 
| 10 #include "base/timer.h" | 10 #include "base/timer.h" | 
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 200 virtual void ListItemsChanged(size_t start, size_t count) OVERRIDE; | 200 virtual void ListItemsChanged(size_t start, size_t count) OVERRIDE; | 
| 201 | 201 | 
| 202 // Overridden from PaginationModelObserver: | 202 // Overridden from PaginationModelObserver: | 
| 203 virtual void TotalPagesChanged() OVERRIDE; | 203 virtual void TotalPagesChanged() OVERRIDE; | 
| 204 virtual void SelectedPageChanged(int old_selected, int new_selected) OVERRIDE; | 204 virtual void SelectedPageChanged(int old_selected, int new_selected) OVERRIDE; | 
| 205 virtual void TransitionChanged() OVERRIDE; | 205 virtual void TransitionChanged() OVERRIDE; | 
| 206 | 206 | 
| 207 // Overridden from AppListModelObserver: | 207 // Overridden from AppListModelObserver: | 
| 208 virtual void OnAppListModelStatusChanged() OVERRIDE; | 208 virtual void OnAppListModelStatusChanged() OVERRIDE; | 
| 209 | 209 | 
| 210 // Hide a given view temporarily without loosing (mouse) events and / or | |
| 
 
James Cook
2013/05/31 22:33:11
loosing -> losing
 
Mr4D (OOO till 08-26)
2013/05/31 22:51:24
Wa? I assume that this is the british version then
 
 | |
| 211 // changing the size of it. | |
| 212 void HideView(views::View* view, bool hide); | |
| 213 | |
| 210 AppListModel* model_; // Owned by AppListView. | 214 AppListModel* model_; // Owned by AppListView. | 
| 211 AppsGridViewDelegate* delegate_; | 215 AppsGridViewDelegate* delegate_; | 
| 212 PaginationModel* pagination_model_; // Owned by AppListController. | 216 PaginationModel* pagination_model_; // Owned by AppListController. | 
| 213 PageSwitcher* page_switcher_view_; // Owned by views hierarchy. | 217 PageSwitcher* page_switcher_view_; // Owned by views hierarchy. | 
| 214 | 218 | 
| 215 gfx::Size icon_size_; | 219 gfx::Size icon_size_; | 
| 216 int cols_; | 220 int cols_; | 
| 217 int rows_per_page_; | 221 int rows_per_page_; | 
| 218 | 222 | 
| 219 // Tracks app item views. There is a view per item in |model_|. | 223 // Tracks app item views. There is a view per item in |model_|. | 
| (...skipping 30 matching lines...) Expand all Loading... | |
| 250 int page_flip_delay_in_ms_; | 254 int page_flip_delay_in_ms_; | 
| 251 | 255 | 
| 252 views::BoundsAnimator bounds_animator_; | 256 views::BoundsAnimator bounds_animator_; | 
| 253 | 257 | 
| 254 DISALLOW_COPY_AND_ASSIGN(AppsGridView); | 258 DISALLOW_COPY_AND_ASSIGN(AppsGridView); | 
| 255 }; | 259 }; | 
| 256 | 260 | 
| 257 } // namespace app_list | 261 } // namespace app_list | 
| 258 | 262 | 
| 259 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 263 #endif // UI_APP_LIST_VIEWS_APPS_GRID_VIEW_H_ | 
| OLD | NEW |