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

Unified Diff: ios/chrome/browser/ui/bookmarks/bookmark_interaction_controller.mm

Issue 2929993002: Refactoring bookmark viewcontrollers (Closed)
Patch Set: Created 3 years, 6 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/bookmarks/bookmark_home_view_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/chrome/browser/ui/bookmarks/bookmark_interaction_controller.mm
diff --git a/ios/chrome/browser/ui/bookmarks/bookmark_interaction_controller.mm b/ios/chrome/browser/ui/bookmarks/bookmark_interaction_controller.mm
index 289d4754f38f9cec930da252e18570e884c5ad48..56d334baac1f0d5e9c3e270703f223f6322e5d22 100644
--- a/ios/chrome/browser/ui/bookmarks/bookmark_interaction_controller.mm
+++ b/ios/chrome/browser/ui/bookmarks/bookmark_interaction_controller.mm
@@ -24,7 +24,7 @@
#import "ios/chrome/browser/tabs/tab.h"
#import "ios/chrome/browser/ui/bookmarks/bookmark_controller_factory.h"
#import "ios/chrome/browser/ui/bookmarks/bookmark_edit_view_controller.h"
-#import "ios/chrome/browser/ui/bookmarks/bookmark_home_view_controller.h"
+#import "ios/chrome/browser/ui/bookmarks/bookmark_home_handset_view_controller.h"
#import "ios/chrome/browser/ui/bookmarks/bookmark_navigation_controller.h"
#import "ios/chrome/browser/ui/bookmarks/bookmark_utils_ios.h"
#include "ios/chrome/browser/ui/uikit_ui_util.h"
@@ -47,7 +47,7 @@ const int64_t kLastUsedFolderNone = -1;
@interface BookmarkInteractionController ()<
BookmarkEditViewControllerDelegate,
- BookmarkHomeViewControllerDelegate> {
+ BookmarkHomeHandsetViewControllerDelegate> {
// The browser state of the current user.
ios::ChromeBrowserState* _currentBrowserState; // weak
@@ -66,7 +66,7 @@ const int64_t kLastUsedFolderNone = -1;
@property(nonatomic, assign) BookmarkModel* bookmarkModel;
// A reference to the potentially presented bookmark browser.
-@property(nonatomic, strong) BookmarkHomeViewController* bookmarkBrowser;
+@property(nonatomic, strong) BookmarkHomeHandsetViewController* bookmarkBrowser;
// A reference to the potentially presented single bookmark editor.
@property(nonatomic, strong) BookmarkEditViewController* bookmarkEditor;
@@ -279,11 +279,11 @@ const int64_t kLastUsedFolderNone = -1;
[self dismissBookmarkEditorAnimated:YES];
}
-#pragma mark - BookmarkHomeViewControllerDelegate
+#pragma mark - BookmarkHomeHandsetViewControllerDelegate
-- (void)bookmarkHomeViewControllerWantsDismissal:
- (BookmarkHomeViewController*)controller
- navigationToUrl:(const GURL&)url {
+- (void)bookmarkHomeHandsetViewControllerWantsDismissal:
+ (BookmarkHomeHandsetViewController*)controller
+ navigationToUrl:(const GURL&)url {
[self dismissBookmarkBrowserAnimated:YES];
if (url != GURL()) {
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/bookmark_home_view_controller_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698