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

Unified Diff: ios/chrome/browser/ui/reading_list/reading_list_view_controller.mm

Issue 2675963002: Rename ReadingListViewControllerContainer to ReadingListViewController (Closed)
Patch Set: Rebase Created 3 years, 10 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
Index: ios/chrome/browser/ui/reading_list/reading_list_view_controller.mm
diff --git a/ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.mm b/ios/chrome/browser/ui/reading_list/reading_list_view_controller.mm
similarity index 97%
rename from ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.mm
rename to ios/chrome/browser/ui/reading_list/reading_list_view_controller.mm
index 841793aa32cf546cab70ba61934bdfa279d89788..253ce8479d2a567843a2d008f2d8496aa5f9c2d7 100644
--- a/ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.mm
+++ b/ios/chrome/browser/ui/reading_list/reading_list_view_controller.mm
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/chrome/browser/ui/reading_list/reading_list_view_controller_container.h"
+#import "ios/chrome/browser/ui/reading_list/reading_list_view_controller.h"
#import <MobileCoreServices/MobileCoreServices.h>
@@ -58,9 +58,8 @@ typedef NS_ENUM(NSInteger, LayoutPriority) {
};
}
-@interface ReadingListViewControllerContainer ()<
- ReadingListToolbarActions,
- ReadingListToolbarHeightDelegate> {
+@interface ReadingListViewController ()<ReadingListToolbarActions,
+ ReadingListToolbarHeightDelegate> {
// Toolbar with the actions.
ReadingListToolbar* _toolbar;
// This constraint control the expanded mode of the toolbar.
@@ -88,7 +87,7 @@ typedef NS_ENUM(NSInteger, LayoutPriority) {
@end
-@implementation ReadingListViewControllerContainer
+@implementation ReadingListViewController
@synthesize readingListCollectionViewController =
_readingListCollectionViewController;
@@ -205,7 +204,7 @@ typedef NS_ENUM(NSInteger, LayoutPriority) {
}
const GURL entryURL = entry->URL();
- __weak ReadingListViewControllerContainer* weakSelf = self;
+ __weak ReadingListViewController* weakSelf = self;
_alertCoordinator = [[ActionSheetCoordinator alloc]
initWithBaseViewController:self
@@ -375,7 +374,7 @@ readingListCollectionViewController:
#pragma mark - UIResponder
- (NSArray*)keyCommands {
- __weak ReadingListViewControllerContainer* weakSelf = self;
+ __weak ReadingListViewController* weakSelf = self;
return @[ [UIKeyCommand cr_keyCommandWithInput:UIKeyInputEscape
modifierFlags:Cr_UIKeyModifierNone
title:nil

Powered by Google App Engine
This is Rietveld 408576698