| OLD | NEW |
| (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_ |
| OLD | NEW |