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

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

Issue 14999013: Allow pages on the OSX app launcher to be turned while dragging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: respond to comments Created 7 years, 7 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/cocoa/app_list_pager_view.mm ('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/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "ui/app_list/app_list_export.h" 12 #include "ui/app_list/app_list_export.h"
13 #import "ui/app_list/cocoa/apps_pagination_model_observer.h" 13 #import "ui/app_list/cocoa/apps_pagination_model_observer.h"
14 14
15 namespace app_list { 15 namespace app_list {
16 class AppListViewDelegate; 16 class AppListViewDelegate;
17 } 17 }
18 18
19 @class AppsGridController; 19 @class AppsGridController;
20 @class AppListPagerView;
20 21
21 // Controller for the top-level view of the app list UI. It creates and hosts an 22 // Controller for the top-level view of the app list UI. It creates and hosts an
22 // AppsGridController (displaying an AppListModel), and pager control for 23 // AppsGridController (displaying an AppListModel), and pager control for
23 // navigating between pages in the grid. 24 // navigating between pages in the grid.
24 APP_LIST_EXPORT 25 APP_LIST_EXPORT
25 @interface AppListViewController : 26 @interface AppListViewController :
26 NSViewController<AppsPaginationModelObserver, NSTextFieldDelegate> { 27 NSViewController<AppsPaginationModelObserver, NSTextFieldDelegate> {
27 @private 28 @private
28 scoped_nsobject<AppsGridController> appsGridController_; 29 scoped_nsobject<AppsGridController> appsGridController_;
29 scoped_nsobject<NSSegmentedControl> pagerControl_; 30 scoped_nsobject<AppListPagerView> pagerControl_;
30 scoped_ptr<app_list::AppListViewDelegate> delegate_; 31 scoped_ptr<app_list::AppListViewDelegate> delegate_;
31 } 32 }
32 33
33 - (AppsGridController*)appsGridController; 34 - (AppsGridController*)appsGridController;
34 35
35 - (NSSegmentedControl*)pagerControl; 36 - (NSSegmentedControl*)pagerControl;
36 37
37 - (app_list::AppListViewDelegate*)delegate; 38 - (app_list::AppListViewDelegate*)delegate;
38 39
39 - (void)setDelegate:(scoped_ptr<app_list::AppListViewDelegate>)newDelegate; 40 - (void)setDelegate:(scoped_ptr<app_list::AppListViewDelegate>)newDelegate;
40 41
41 @end 42 @end
42 43
43 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_ 44 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/app_list/cocoa/app_list_pager_view.mm ('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