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/mac/scoped_nsobject.h" |
11 #include "ui/app_list/app_list_export.h" | 11 #include "ui/app_list/app_list_export.h" |
12 | 12 |
13 @class AppListViewController; | 13 @class AppListViewController; |
14 | 14 |
15 // Controller for the app list NSWindow. | 15 // Controller for the app list NSWindow. |
16 APP_LIST_EXPORT | 16 APP_LIST_EXPORT |
17 @interface AppListWindowController : NSWindowController<NSWindowDelegate> { | 17 @interface AppListWindowController : NSWindowController<NSWindowDelegate> { |
18 @private | 18 @private |
19 scoped_nsobject<AppListViewController> appListViewController_; | 19 base::scoped_nsobject<AppListViewController> appListViewController_; |
20 } | 20 } |
21 | 21 |
22 - (AppListViewController*)appListViewController; | 22 - (AppListViewController*)appListViewController; |
23 | 23 |
24 @end | 24 @end |
25 | 25 |
26 #endif // UI_APP_LIST_COCOA_APP_LIST_WINDOW_CONTROLLER_H_ | 26 #endif // UI_APP_LIST_COCOA_APP_LIST_WINDOW_CONTROLLER_H_ |
OLD | NEW |