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

Unified Diff: ios/chrome/browser/ui/content_suggestions/content_suggestions_expandable_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_expandable_item.mm
diff --git a/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm b/ios/chrome/browser/ui/content_suggestions/content_suggestions_expandable_item.mm
similarity index 95%
rename from ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm
rename to ios/chrome/browser/ui/content_suggestions/content_suggestions_expandable_item.mm
index 761294e985902ea3bc43eb73097021e7d1550a11..5e206445854e8984734abb1199e68861ef47df9f 100644
--- a/ios/chrome/browser/ui/suggestions/suggestions_expandable_item.mm
+++ b/ios/chrome/browser/ui/content_suggestions/content_suggestions_expandable_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_expandable_item.h"
+#import "ios/chrome/browser/ui/content_suggestions/content_suggestions_expandable_item.h"
#import "ios/chrome/browser/ui/uikit_ui_util.h"
#include "ui/base/l10n/l10n_util_mac.h"
@@ -35,7 +35,7 @@ const CGFloat kStandardSpacing = 8;
detailText:(NSString*)detail {
self = [super initWithType:type];
if (self) {
- self.cellClass = [SuggestionsExpandableCell class];
+ self.cellClass = [ContentSuggestionsExpandableCell class];
_title = [title copy];
_subtitle = [subtitle copy];
_image = image;
@@ -46,7 +46,7 @@ const CGFloat kStandardSpacing = 8;
#pragma mark - CollectionViewItem
-- (void)configureCell:(SuggestionsExpandableCell*)cell {
+- (void)configureCell:(ContentSuggestionsExpandableCell*)cell {
[super configureCell:cell];
cell.delegate = self.delegate;
cell.titleLabel.text = _title;
@@ -61,9 +61,9 @@ const CGFloat kStandardSpacing = 8;
@end
-#pragma mark - SuggestionsExpandableCell
+#pragma mark - ContentSuggestionsExpandableCell
-@interface SuggestionsExpandableCell () {
+@interface ContentSuggestionsExpandableCell () {
UIView* _articleContainer;
UIButton* _interactionButton;
UIButton* _expandButton;
@@ -79,7 +79,7 @@ const CGFloat kStandardSpacing = 8;
@end
-@implementation SuggestionsExpandableCell
+@implementation ContentSuggestionsExpandableCell
@synthesize titleLabel = _titleLabel;
@synthesize subtitleLabel = _subtitleLabel;

Powered by Google App Engine
This is Rietveld 408576698