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

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

Issue 12701022: wrongbaseurl OSX App List Pager and root view controller. (Closed) Base URL: http://git.chromium.org/chromium/src.git@20130304-crbug-138633-osx-app-list-demo-polish-macbook
Patch Set: delegate should be owned by viewcontroller, test coverage Created 7 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.gyp ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
6 #define UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
7
8 #import <Cocoa/Cocoa.h>
9
10 #include "base/memory/scoped_nsobject.h"
11 #include "base/memory/scoped_ptr.h"
12 #import "ui/app_list/cocoa/apps_pagination_model_observer.h"
13
14 namespace app_list {
15 class AppListViewDelegate;
16 }
17
18 @class AppsGridController;
19
20 // Controller for the root app list view.
21 @interface AppListViewController :
22 NSViewController<AppsPaginationModelObserver> {
23 @private
24 scoped_nsobject<AppsGridController> appsGridController_;
25 scoped_nsobject<NSSegmentedControl> pagerControl_;
26 scoped_ptr<app_list::AppListViewDelegate> delegate_;
27 }
28
29 - (AppsGridController*)appsGridController;
30
31 - (NSSegmentedControl*)pagerControl;
32
33 - (app_list::AppListViewDelegate*)delegate;
34
35 - (void)setDelegate:(scoped_ptr<app_list::AppListViewDelegate>)newDelegate;
36
37 @end
38
39 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list.gyp ('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