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 // Adds a Chrome Home panel. | |
21 - (void)addHomePanelViewController:(UIViewController*)controller; | |
marq (ping after 24h)
2017/04/07 12:25:01
No need to change for this CL, but maybe these sho
justincohen
2017/04/07 15:27:30
This is a great idea and I made the change to this
| |
22 | |
23 // Adds a bookmarks panel on iPad or present a bookmarks panel on iPhone. | |
24 - (void)addBookmarksViewController:(UIViewController*)controller; | |
25 | |
26 // Adds a open tabs panel on iPad or present a bookmarks panel on iPhone. | |
27 - (void)addOpenTabsViewController:(UIViewController*)controller; | |
28 @end | |
29 | |
30 #endif // IOS_CLEAN_CHROME_BROWSER_UI_NTP_NTP_VIEW_CONTROLLER_H_ | |
OLD | NEW |