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_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/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 scoped_ptr<app_list::AppListViewDelegate> delegate_; | 48 scoped_ptr<app_list::AppListViewDelegate> delegate_; |
49 scoped_ptr<app_list::AppListModelObserverBridge> | 49 scoped_ptr<app_list::AppListModelObserverBridge> |
50 app_list_model_observer_bridge_; | 50 app_list_model_observer_bridge_; |
51 BOOL showingSearchResults_; | 51 BOOL showingSearchResults_; |
52 } | 52 } |
53 | 53 |
54 @property(readonly, nonatomic) AppsSearchBoxController* | 54 @property(readonly, nonatomic) AppsSearchBoxController* |
55 searchBoxController; | 55 searchBoxController; |
56 | 56 |
| 57 @property(readonly, nonatomic) AppsSearchResultsController* |
| 58 appsSearchResultsController; |
| 59 |
57 - (app_list::AppListViewDelegate*)delegate; | 60 - (app_list::AppListViewDelegate*)delegate; |
58 - (void)setDelegate:(scoped_ptr<app_list::AppListViewDelegate>)newDelegate; | 61 - (void)setDelegate:(scoped_ptr<app_list::AppListViewDelegate>)newDelegate; |
59 - (void)onProfilesChanged; | 62 - (void)onProfilesChanged; |
60 | 63 |
61 @end | 64 @end |
62 | 65 |
63 @interface AppListViewController (TestingAPI) | 66 @interface AppListViewController (TestingAPI) |
64 | 67 |
65 @property(nonatomic, readonly) BOOL showingSearchResults; | 68 @property(nonatomic, readonly) BOOL showingSearchResults; |
66 | 69 |
67 - (AppsGridController*)appsGridController; | 70 - (AppsGridController*)appsGridController; |
68 - (NSSegmentedControl*)pagerControl; | 71 - (NSSegmentedControl*)pagerControl; |
69 - (NSView*)backgroundView; | 72 - (NSView*)backgroundView; |
70 | 73 |
71 @end | 74 @end |
72 | 75 |
73 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_ | 76 #endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_ |
OLD | NEW |