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

Unified Diff: ios/showcase/content_suggestions/sc_content_suggestions_most_visited_item.h

Issue 2769063005: Add CSDataSource in showcase (Closed)
Patch Set: Address comments Created 3 years, 7 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/showcase/content_suggestions/sc_content_suggestions_most_visited_item.h
diff --git a/ios/showcase/content_suggestions/sc_content_suggestions_most_visited_item.h b/ios/showcase/content_suggestions/sc_content_suggestions_most_visited_item.h
new file mode 100644
index 0000000000000000000000000000000000000000..21aaba14cc42f8b2b6281f2950a182852308f1e1
--- /dev/null
+++ b/ios/showcase/content_suggestions/sc_content_suggestions_most_visited_item.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_
+#define IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_
+
+#import <UIKit/UIKit.h>
+
+#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
+#import "ios/chrome/browser/ui/content_suggestions/cells/suggested_content.h"
+
+// Content Suggestions item configuring a ContentSuggetionsMostVisitedCell.
+@interface SCContentSuggestionsMostVisitedItem
+ : CollectionViewItem<SuggestedContent>
+
+@property(nonatomic, copy) NSString* title;
+
+@end
+
+#endif // IOS_SHOWCASE_CONTENT_SUGGESTIONS_SC_CONTENT_SUGGESTIONS_MOST_VISITED_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698