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

Side by Side Diff: ui/app_list/cocoa/app_list_view_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
« no previous file with comments | « ui/app_list/app_list_view_delegate.cc ('k') | ui/app_list/cocoa/app_list_view_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_APP_LIST_VIEW_CONTROLLER_H_ 5 #ifndef UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
6 #define UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_ 6 #define UI_APP_LIST_COCOA_APP_LIST_VIEW_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 11 matching lines...) Expand all
22 22
23 @class AppListPagerView; 23 @class AppListPagerView;
24 @class AppsGridController; 24 @class AppsGridController;
25 25
26 // Controller for the top-level view of the app list UI. It creates and hosts an 26 // Controller for the top-level view of the app list UI. It creates and hosts an
27 // AppsGridController (displaying an AppListModel), pager control to navigate 27 // AppsGridController (displaying an AppListModel), pager control to navigate
28 // between pages in the grid, and search entry box with a pop up menu. 28 // between pages in the grid, and search entry box with a pop up menu.
29 APP_LIST_EXPORT 29 APP_LIST_EXPORT
30 @interface AppListViewController : NSViewController<AppsPaginationModelObserver, 30 @interface AppListViewController : NSViewController<AppsPaginationModelObserver,
31 AppsSearchBoxDelegate, 31 AppsSearchBoxDelegate,
32 AppsSearchResultsDelegate> { 32 AppsSearchResultsDelegate,
33 NSTextViewDelegate> {
33 @private 34 @private
34 base::scoped_nsobject<AppsGridController> appsGridController_; 35 base::scoped_nsobject<AppsGridController> appsGridController_;
35 base::scoped_nsobject<AppListPagerView> pagerControl_; 36 base::scoped_nsobject<AppListPagerView> pagerControl_;
36 base::scoped_nsobject<AppsSearchBoxController> appsSearchBoxController_; 37 base::scoped_nsobject<AppsSearchBoxController> appsSearchBoxController_;
37 base::scoped_nsobject<AppsSearchResultsController> 38 base::scoped_nsobject<AppsSearchResultsController>
38 appsSearchResultsController_; 39 appsSearchResultsController_;
39 40
41 // If set, a message displayed above the app list grid.
42 base::scoped_nsobject<NSTextView> messageText_;
43 base::scoped_nsobject<NSScrollView> messageScrollView_;
44
40 // Subview for drawing the background. 45 // Subview for drawing the background.
41 base::scoped_nsobject<NSView> backgroundView_; 46 base::scoped_nsobject<NSView> backgroundView_;
42 47
43 // Subview of |backgroundView_| that slides out when search results are shown. 48 // Subview of |backgroundView_| that slides out when search results are shown.
44 base::scoped_nsobject<NSView> contentsView_; 49 base::scoped_nsobject<NSView> contentsView_;
45 50
46 // Progress indicator that is visible while the delegate is NULL. 51 // Progress indicator that is visible while the delegate is NULL.
47 base::scoped_nsobject<NSProgressIndicator> loadingIndicator_; 52 base::scoped_nsobject<NSProgressIndicator> loadingIndicator_;
48 53
49 app_list::AppListViewDelegate* delegate_; // Weak. Owned by AppListService. 54 app_list::AppListViewDelegate* delegate_; // Weak. Owned by AppListService.
(...skipping 16 matching lines...) Expand all
66 71
67 @property(nonatomic, readonly) BOOL showingSearchResults; 72 @property(nonatomic, readonly) BOOL showingSearchResults;
68 73
69 - (AppsGridController*)appsGridController; 74 - (AppsGridController*)appsGridController;
70 - (NSSegmentedControl*)pagerControl; 75 - (NSSegmentedControl*)pagerControl;
71 - (NSView*)backgroundView; 76 - (NSView*)backgroundView;
72 77
73 @end 78 @end
74 79
75 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_ 80 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_view_delegate.cc ('k') | ui/app_list/cocoa/app_list_view_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698