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

Side by Side Diff: ui/app_list/views/apps_grid_view.h

Issue 15774015: Fixed problem with clicking on app launcher item (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
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_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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698