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

Unified Diff: ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h

Issue 2762643003: Move ContentSuggestions identifiers to custom target (Closed)
Patch Set: Address comments Created 3 years, 9 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/identifier/content_suggestions_section_information.h
diff --git a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h b/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h
similarity index 76%
rename from ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h
rename to ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h
index c8af1baa3a743bb944a1e94a632c59a8dad3175a..d73e065167f8c1d915ad252040ea99d1a31b0130 100644
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h
+++ b/ios/chrome/browser/ui/content_suggestions/identifier/content_suggestions_section_information.h
@@ -2,13 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_
-#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_
+#ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_IDENTIFIER_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_
+#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_IDENTIFIER_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_
#import <Foundation/Foundation.h>
-#import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h"
-
// Layout for the section and its items.
typedef NS_ENUM(NSInteger, ContentSuggestionsSectionLayout) {
// Follows the card layout.
@@ -37,9 +35,6 @@ typedef NS_ENUM(NSInteger, ContentSuggestionsSectionID) {
NS_DESIGNATED_INITIALIZER;
- (instancetype)init NS_UNAVAILABLE;
-// Item to display when the section is empty. If nil the section should not be
-// displayed when empty.
-@property(nonatomic, strong) CollectionViewItem* emptyCell;
// Layout to display the content of the section.
@property(nonatomic, assign) ContentSuggestionsSectionLayout layout;
// ID of the section. Used for ordering.
@@ -51,4 +46,4 @@ typedef NS_ENUM(NSInteger, ContentSuggestionsSectionID) {
@end
-#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_
+#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_IDENTIFIER_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_

Powered by Google App Engine
This is Rietveld 408576698