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

Side by Side Diff: ui/app_list/cocoa/apps_grid_controller.h

Issue 25859005: Elim ActivateAppListItem, ChromeAppListItem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Compile fixes Created 7 years, 2 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
« no previous file with comments | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/cocoa/apps_grid_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COCOA_APPS_GRID_CONTROLLER_H_ 5 #ifndef UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_
6 #define UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_ 6 #define UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/mac/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 - (AppsGridViewItem*)itemAtIndex:(size_t)itemIndex; 65 - (AppsGridViewItem*)itemAtIndex:(size_t)itemIndex;
66 66
67 - (app_list::AppListModel*)model; 67 - (app_list::AppListModel*)model;
68 68
69 - (void)setModel:(scoped_ptr<app_list::AppListModel>)newModel; 69 - (void)setModel:(scoped_ptr<app_list::AppListModel>)newModel;
70 70
71 - (void)setDelegate:(app_list::AppListViewDelegate*)newDelegate; 71 - (void)setDelegate:(app_list::AppListViewDelegate*)newDelegate;
72 72
73 - (size_t)visiblePage; 73 - (size_t)visiblePage;
74 74
75 // Calls delegate_->ActivateAppListItem for the currently selected item by 75 // Calls item->Activate for the currently selected item by simulating a click.
76 // simulating a click.
77 - (void)activateSelection; 76 - (void)activateSelection;
78 77
79 // Return the number of pages of icons in the grid. 78 // Return the number of pages of icons in the grid.
80 - (size_t)pageCount; 79 - (size_t)pageCount;
81 80
82 // Return the number of items over all pages in the grid. 81 // Return the number of items over all pages in the grid.
83 - (size_t)itemCount; 82 - (size_t)itemCount;
84 83
85 // Scroll to a page in the grid view with an animation. 84 // Scroll to a page in the grid view with an animation.
86 - (void)scrollToPage:(size_t)pageIndex; 85 - (void)scrollToPage:(size_t)pageIndex;
(...skipping 30 matching lines...) Expand all
117 @end 116 @end
118 117
119 @interface AppsGridController(TestingAPI) 118 @interface AppsGridController(TestingAPI)
120 119
121 - (AppsCollectionViewDragManager*)dragManager; 120 - (AppsCollectionViewDragManager*)dragManager;
122 - (size_t)scheduledScrollPage; 121 - (size_t)scheduledScrollPage;
123 122
124 @end 123 @end
125 124
126 #endif // UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_ 125 #endif // UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_view_delegate.h ('k') | ui/app_list/cocoa/apps_grid_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698