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

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 class ChromeBrowserState;
14 } // namespace ios
15
16 // Navigate/edit the bookmark hierarchy on tablet, from the New Tab Page (NTP). 13 // Navigate/edit the bookmark hierarchy on tablet, from the New Tab Page (NTP).
17 @interface BookmarkHomeTabletNTPController 14 @interface BookmarkHomeTabletNTPController
18 : UIViewController<NewTabPagePanelProtocol> 15 : BookmarkHomeViewController<NewTabPagePanelProtocol>
19 // Designated initializer. 16
20 - (instancetype)initWithLoader:(id<UrlLoader>)loader
21 browserState:(ios::ChromeBrowserState*)browserState;
22 @end 17 @end
23 18
24 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H _ 19 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_HOME_TABLET_NTP_CONTROLLER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698