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

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

Issue 2586993002: Upstream Chrome on iOS source code [3/11]. (Closed)
Patch Set: Created 4 years 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 2014 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_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_CONTROLLER_FACTORY_H_
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_CONTROLLER_FACTORY_H_
7
8 #import <Foundation/Foundation.h>
9
10 @class BookmarkHomeViewController;
11 @protocol NewTabPagePanelProtocol;
12 @protocol UrlLoader;
13
14 namespace ios {
15 class ChromeBrowserState;
16 } // namespace ios
17
18 // This factory is responsible for providing an instance of a bookmark
19 // controller that can browse and edit the bookmark hierarchy.
20 @interface BookmarkControllerFactory : NSObject
21
22 - (BookmarkHomeViewController*)
23 bookmarkControllerWithBrowserState:(ios::ChromeBrowserState*)browserState
24 loader:(id<UrlLoader>)loader;
25
26 // Returns an instance of a NewTabPagePanelProtocol that can navigate and edit
27 // the bookmark hierarchy.
28 - (id<NewTabPagePanelProtocol>)
29 bookmarkPanelControllerForBrowserState:(ios::ChromeBrowserState*)browserState
30 loader:(id<UrlLoader>)loader
31 colorCache:(NSMutableDictionary*)cache;
32
33 @end
34
35 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_CONTROLLER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698