Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Side by Side Diff: ios/clean/chrome/browser/ui/ntp/ntp_view_controller.h

Issue 2785893003: [ios clean] Add placeholder for NTP bookmarks, chrome home and open tabs. (Closed)
Patch Set: Rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698