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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_article_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_article_item.mm
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_article_item.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm
similarity index 90%
rename from ios/chrome/browser/ui/suggestions/suggestions_article_item.mm
rename to ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.mm
index a26ee1b02527ad6ed1c8a7b5f4e39171bc2f4eb9..a87624dad8220c5d8c03d9bab2edf27876c7926a 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_article_item.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.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/suggestions/suggestions_article_item.h"
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_article_item.h"
#import "ios/chrome/browser/ui/uikit_ui_util.h"
@@ -14,7 +14,7 @@ namespace {
const CGFloat kImageSize = 100;
}
-@interface SuggestionsArticleItem ()
+@interface ContentSuggestionsArticleItem ()
@property(nonatomic, copy) NSString* title;
@property(nonatomic, copy) NSString* subtitle;
@@ -22,7 +22,7 @@ const CGFloat kImageSize = 100;
@end
-@implementation SuggestionsArticleItem
+@implementation ContentSuggestionsArticleItem
@synthesize title = _title;
@synthesize subtitle = _subtitle;
@@ -34,7 +34,7 @@ const CGFloat kImageSize = 100;
image:(UIImage*)image {
self = [super initWithType:type];
if (self) {
- self.cellClass = [SuggestionsArticleCell class];
+ self.cellClass = [ContentSuggestionsArticleCell class];
_title = [title copy];
_subtitle = [subtitle copy];
_image = image;
@@ -42,7 +42,7 @@ const CGFloat kImageSize = 100;
return self;
}
-- (void)configureCell:(SuggestionsArticleCell*)cell {
+- (void)configureCell:(ContentSuggestionsArticleCell*)cell {
[super configureCell:cell];
cell.titleLabel.text = _title;
cell.subtitleLabel.text = _subtitle;
@@ -51,7 +51,7 @@ const CGFloat kImageSize = 100;
@end
-@implementation SuggestionsArticleCell
+@implementation ContentSuggestionsArticleCell
@synthesize titleLabel = _titleLabel;
@synthesize subtitleLabel = _subtitleLabel;

Powered by Google App Engine
This is Rietveld 408576698