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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item.mm

Issue 2644123003: Move ios/ui/suggestions to ios/ui/content_suggestions (Closed)
Patch Set: Rebase Created 3 years, 11 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/content_suggestions/content_suggestions_stack_item.mm
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_stack_item.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item.mm
similarity index 92%
rename from ios/chrome/browser/ui/suggestions/suggestions_stack_item.mm
rename to ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item.mm
index 1ea97d726798707d361d9a683c48e9762d5674b4..b7ab5a26eb437c534505b0a05f5bf3a788025a98 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_stack_item.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item.mm
@@ -2,9 +2,9 @@
// 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/suggestions/suggestions_stack_item.h"
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item.h"
-#import "ios/chrome/browser/ui/suggestions/suggestions_stack_item_actions.h"
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_stack_item_actions.h"
#import "ios/chrome/browser/ui/uikit_ui_util.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
@@ -15,7 +15,7 @@ namespace {
const CGFloat kStackSpacing = 8;
}
-@implementation SuggestionsStackItem {
+@implementation ContentSuggestionsStackItem {
NSString* _title;
NSString* _subtitle;
}
@@ -25,7 +25,7 @@ const CGFloat kStackSpacing = 8;
subtitle:(NSString*)subtitle {
self = [super initWithType:type];
if (self) {
- self.cellClass = [SuggestionsStackCell class];
+ self.cellClass = [ContentSuggestionsStackCell class];
_title = [title copy];
_subtitle = [subtitle copy];
}
@@ -34,7 +34,7 @@ const CGFloat kStackSpacing = 8;
#pragma mark - CollectionViewItem
-- (void)configureCell:(SuggestionsStackCell*)cell {
+- (void)configureCell:(ContentSuggestionsStackCell*)cell {
[super configureCell:cell];
[cell.titleButton setTitle:_title forState:UIControlStateNormal];
cell.detailTextLabel.text = _subtitle;
@@ -42,7 +42,7 @@ const CGFloat kStackSpacing = 8;
@end
-@implementation SuggestionsStackCell
+@implementation ContentSuggestionsStackCell
@synthesize titleButton = _titleButton;
@synthesize detailTextLabel = _detailTextLabel;

Powered by Google App Engine
This is Rietveld 408576698