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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmark_home_tablet_ntp_controller.h

Issue 2821063002: Convert bookmarks NTP panel to UIViewController. (Closed)
Patch Set: Fix unit tests 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H_
7 7
8 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h" 8 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h"
9 9
10 @protocol UrlLoader; 10 @protocol UrlLoader;
11 11
12 namespace ios { 12 namespace ios {
13 class ChromeBrowserState; 13 class ChromeBrowserState;
14 } // namespace ios 14 } // namespace ios
15 15
16 // Navigate/edit the bookmark hierarchy on tablet, from the New Tab Page (NTP). 16 // Navigate/edit the bookmark hierarchy on tablet, from the New Tab Page (NTP).
17 @interface BookmarkHomeTabletNTPController : NSObject<NewTabPagePanelProtocol> 17 @interface BookmarkHomeTabletNTPController
18 : UIViewController<NewTabPagePanelProtocol>
18 // Designated initializer. 19 // Designated initializer.
19 - (instancetype)initWithLoader:(id<UrlLoader>)loader 20 - (instancetype)initWithLoader:(id<UrlLoader>)loader
20 browserState:(ios::ChromeBrowserState*)browserState; 21 browserState:(ios::ChromeBrowserState*)browserState;
21 @end 22 @end
22 23
23 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H _ 24 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698