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

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

Issue 2972733002: Creates common super class for bookmark handset and tablet view controllers (Closed)
Patch Set: Created 3 years, 5 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/bookmarks/bookmark_home_view_controller.h"
8 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h" 9 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h"
9 10
10 @protocol UrlLoader; 11 @protocol UrlLoader;
11 12
12 namespace ios { 13 namespace ios {
13 class ChromeBrowserState; 14 class ChromeBrowserState;
14 } // namespace ios 15 } // namespace ios
15 16
16 // Navigate/edit the bookmark hierarchy on tablet, from the New Tab Page (NTP). 17 // Navigate/edit the bookmark hierarchy on tablet, from the New Tab Page (NTP).
17 @interface BookmarkHomeTabletNTPController 18 @interface BookmarkHomeTabletNTPController
18 : UIViewController<NewTabPagePanelProtocol> 19 : BookmarkHomeViewController<NewTabPagePanelProtocol>
19 // Designated initializer. 20 // Designated initializer.
20 - (instancetype)initWithLoader:(id<UrlLoader>)loader 21 - (instancetype)initWithLoader:(id<UrlLoader>)loader
lpromero 2017/07/07 13:30:09 Remove as it is the parent's case already.
ramyasharma 2017/07/10 06:55:58 Done.
21 browserState:(ios::ChromeBrowserState*)browserState; 22 browserState:(ios::ChromeBrowserState*)browserState;
22 @end 23 @end
23 24
24 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H _ 25 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698