| OLD | NEW |
| 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_WINDOW_CONTROLLER_H_ | 5 #ifndef UI_APP_LIST_COCOA_APP_LIST_WINDOW_CONTROLLER_H_ |
| 6 #define UI_APP_LIST_COCOA_APP_LIST_WINDOW_CONTROLLER_H_ | 6 #define UI_APP_LIST_COCOA_APP_LIST_WINDOW_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 | 11 |
| 12 @class AppsGridController; | 12 @class AppListViewController; |
| 13 | 13 |
| 14 // Controller for the app list NSWindow. | 14 // Controller for the app list NSWindow. |
| 15 @interface AppListWindowController : NSWindowController<NSWindowDelegate> { | 15 @interface AppListWindowController : NSWindowController<NSWindowDelegate> { |
| 16 scoped_nsobject<AppsGridController> appsGridController_; | 16 @private |
| 17 scoped_nsobject<AppListViewController> appListViewController_; |
| 17 } | 18 } |
| 18 | 19 |
| 19 - (id)initWithGridController:(AppsGridController*)gridController; | 20 - (AppListViewController*)appListViewController; |
| 20 | |
| 21 - (AppsGridController*)appsGridController; | |
| 22 | 21 |
| 23 @end | 22 @end |
| 24 | 23 |
| 25 #endif // UI_APP_LIST_COCOA_APP_LIST_WINDOW_CONTROLLER_H_ | 24 #endif // UI_APP_LIST_COCOA_APP_LIST_WINDOW_CONTROLLER_H_ |
| OLD | NEW |