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

Unified Diff: ios/clean/chrome/browser/ui/bookmarks/bookmarks_coordinator.mm

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/bookmarks/bookmarks_coordinator.mm
diff --git a/ios/clean/chrome/browser/ui/bookmarks/bookmarks_coordinator.mm b/ios/clean/chrome/browser/ui/bookmarks/bookmarks_coordinator.mm
index 9bdeae9dd6c2140e98395ec42d62767aea41638d..fadbc3caf13303343455fddf26688de3037d7bae 100644
--- a/ios/clean/chrome/browser/ui/bookmarks/bookmarks_coordinator.mm
+++ b/ios/clean/chrome/browser/ui/bookmarks/bookmarks_coordinator.mm
@@ -17,12 +17,10 @@
@interface BookmarksCoordinator ()
@property(nonatomic, strong) UIViewController* viewController;
-@property(nonatomic, strong) BookmarkHomeTabletNTPController* wrapperController;
@end
@implementation BookmarksCoordinator
@synthesize viewController = _viewController;
-@synthesize wrapperController = _wrapperController;
- (void)start {
// HACK: Re-using old view controllers for now.
@@ -34,12 +32,10 @@
} else {
BookmarkControllerFactory* factory =
[[BookmarkControllerFactory alloc] init];
- self.wrapperController = [factory
+ self.viewController = [factory
bookmarkPanelControllerForBrowserState:self.browser->browser_state()
loader:nil
colorCache:nil];
- self.viewController = [[UIViewController alloc] init];
- self.viewController.view = [self.wrapperController view];
}
[super start];
}
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698