OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_VIEW_CONTROLLER_H_ |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_VIEW_CONTROLLER_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 #import "ios/clean/chrome/browser/ui/ntp/ntp_consumer.h" |
| 11 |
| 12 @protocol NTPCommands; |
| 13 |
| 14 // View controller that displays a new tab page. |
| 15 @interface NTPViewController : UIViewController<NTPConsumer> |
| 16 |
| 17 // The dispatcher for this view controller |
| 18 @property(nonatomic, weak) id<NTPCommands> dispatcher; |
| 19 |
| 20 // Setting this property adds a Chrome Home panel. |
| 21 @property(nonatomic, strong) UIViewController* homeViewController; |
| 22 |
| 23 // Setting this property adds a bookmarks panel on iPad or present a bookmarks |
| 24 // panel on iPhone. |
| 25 @property(nonatomic, strong) UIViewController* bookmarksViewController; |
| 26 |
| 27 // Setting this property adds a recent tabs panel on iPad or present a bookmarks |
| 28 // panel on iPhone. |
| 29 @property(nonatomic, strong) UIViewController* recentTabsViewController; |
| 30 @end |
| 31 |
| 32 #endif // IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_VIEW_CONTROLLER_H_ |
OLD | NEW |