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

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

Issue 1802473002: Add deprecation warning banner to App Launcher on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20170310-MacViews-ViewsUnittests
Patch Set: Separate function Created 4 years, 9 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
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 #include <stddef.h> 9 #include <stddef.h>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 @property(assign, nonatomic) id<AppsPaginationModelObserver> paginationObserver; 54 @property(assign, nonatomic) id<AppsPaginationModelObserver> paginationObserver;
55 55
56 + (void)setScrollAnimationDuration:(NSTimeInterval)duration; 56 + (void)setScrollAnimationDuration:(NSTimeInterval)duration;
57 57
58 // The amount the grid view has been extended to hold the sometimes present 58 // The amount the grid view has been extended to hold the sometimes present
59 // invisible scroller that allows for gesture scrolling. 59 // invisible scroller that allows for gesture scrolling.
60 + (CGFloat)scrollerPadding; 60 + (CGFloat)scrollerPadding;
61 61
62 // Whether the grid is configured with fewer rows than normal.
63 + (BOOL)hasFewerRows;
64
62 - (NSCollectionView*)collectionViewAtPageIndex:(size_t)pageIndex; 65 - (NSCollectionView*)collectionViewAtPageIndex:(size_t)pageIndex;
63 - (size_t)pageIndexForCollectionView:(NSCollectionView*)page; 66 - (size_t)pageIndexForCollectionView:(NSCollectionView*)page;
64 67
65 - (AppsGridViewItem*)itemAtIndex:(size_t)itemIndex; 68 - (AppsGridViewItem*)itemAtIndex:(size_t)itemIndex;
66 69
67 - (app_list::AppListModel*)model; 70 - (app_list::AppListModel*)model;
68 71
69 - (void)setDelegate:(app_list::AppListViewDelegate*)newDelegate; 72 - (void)setDelegate:(app_list::AppListViewDelegate*)newDelegate;
70 73
71 - (size_t)visiblePage; 74 - (size_t)visiblePage;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 @end 117 @end
115 118
116 @interface AppsGridController(TestingAPI) 119 @interface AppsGridController(TestingAPI)
117 120
118 - (AppsCollectionViewDragManager*)dragManager; 121 - (AppsCollectionViewDragManager*)dragManager;
119 - (size_t)scheduledScrollPage; 122 - (size_t)scheduledScrollPage;
120 123
121 @end 124 @end
122 125
123 #endif // UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_ 126 #endif // UI_APP_LIST_COCOA_APPS_GRID_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/app_list/cocoa/app_list_view_controller.mm ('k') | ui/app_list/cocoa/apps_grid_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698