| Index: ui/app_list/cocoa/app_list_view_controller.h
|
| diff --git a/ui/app_list/cocoa/app_list_view_controller.h b/ui/app_list/cocoa/app_list_view_controller.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..16914357156c96df1e511a4f6009e27dca538510
|
| --- /dev/null
|
| +++ b/ui/app_list/cocoa/app_list_view_controller.h
|
| @@ -0,0 +1,39 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
|
| +#define UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
|
| +
|
| +#import <Cocoa/Cocoa.h>
|
| +
|
| +#include "base/memory/scoped_nsobject.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +#import "ui/app_list/cocoa/apps_pagination_model_observer.h"
|
| +
|
| +namespace app_list {
|
| +class AppListViewDelegate;
|
| +}
|
| +
|
| +@class AppsGridController;
|
| +
|
| +// Controller for the root app list view.
|
| +@interface AppListViewController :
|
| + NSViewController<AppsPaginationModelObserver> {
|
| + @private
|
| + scoped_nsobject<AppsGridController> appsGridController_;
|
| + scoped_nsobject<NSSegmentedControl> pagerControl_;
|
| + scoped_ptr<app_list::AppListViewDelegate> delegate_;
|
| +}
|
| +
|
| +- (AppsGridController*)appsGridController;
|
| +
|
| +- (NSSegmentedControl*)pagerControl;
|
| +
|
| +- (app_list::AppListViewDelegate*)delegate;
|
| +
|
| +- (void)setDelegate:(scoped_ptr<app_list::AppListViewDelegate>)newDelegate;
|
| +
|
| +@end
|
| +
|
| +#endif // UI_APP_LIST_COCOA_APP_LIST_VIEW_CONTROLLER_H_
|
|
|