| Index: ios/chrome/browser/ui/history/history_panel_view_controller.h
|
| diff --git a/ios/chrome/browser/ui/history/history_panel_view_controller.h b/ios/chrome/browser/ui/history/history_panel_view_controller.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..554d13ec5d57d565f3625b5753e398f43ece80ee
|
| --- /dev/null
|
| +++ b/ios/chrome/browser/ui/history/history_panel_view_controller.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 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 IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_PANEL_VIEW_CONTROLLER_H_
|
| +#define IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_PANEL_VIEW_CONTROLLER_H_
|
| +
|
| +#import <UIKit/UIKit.h>
|
| +
|
| +namespace ios {
|
| +class ChromeBrowserState;
|
| +}
|
| +
|
| +@protocol UrlLoader;
|
| +
|
| +// View controller for displaying the history panel.
|
| +@interface HistoryPanelViewController : UIViewController
|
| +
|
| +- (instancetype)initWithLoader:(id<UrlLoader>)loader
|
| + browserState:(ios::ChromeBrowserState*)browserState
|
| + NS_DESIGNATED_INITIALIZER;
|
| +- (instancetype)initWithNibName:(NSString*)nibNameOrNil
|
| + bundle:(NSBundle*)nibBundleOrNil NS_UNAVAILABLE;
|
| +- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
|
| +
|
| +// Returns view controller that presents the history panel.
|
| ++ (UIViewController*)controllerToPresentForBrowserState:
|
| + (ios::ChromeBrowserState*)browserState
|
| + loader:(id<UrlLoader>)loader;
|
| +@end
|
| +#endif // IOS_CHROME_BROWSER_UI_HISTORY_HISTORY_PANEL_VIEW_CONTROLLER_H_
|
|
|