Index: ios/chrome/browser/ui/content_suggestions/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/content_suggestions_section_information.h |
deleted file mode 100644 |
index c8af1baa3a743bb944a1e94a632c59a8dad3175a..0000000000000000000000000000000000000000 |
--- a/ios/chrome/browser/ui/content_suggestions/content_suggestions_section_information.h |
+++ /dev/null |
@@ -1,54 +0,0 @@ |
-// 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_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_ |
-#define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_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. |
- ContentSuggestionsSectionLayoutCard, |
- // No specific layout. |
- ContentSuggestionsSectionLayoutCustom, |
-}; |
- |
-// This enum is used for ordering the sections and as ID for the section. Make |
-// all sections in the same collection have different ID. |
-// When adding a new kind of suggestions, add a new corresponding section. The |
-// ordering is not persisted between launch, reordering is possible. |
-typedef NS_ENUM(NSInteger, ContentSuggestionsSectionID) { |
- ContentSuggestionsSectionBookmarks = 0, |
- ContentSuggestionsSectionArticles = 1, |
- |
- // Do not use this. It will trigger a DCHECK. |
- // Do not add value after this one. |
- ContentSuggestionsSectionUnknown |
-}; |
- |
-// Contains the information needed to display the section. |
-@interface ContentSuggestionsSectionInformation : NSObject |
- |
-- (instancetype)initWithSectionID:(ContentSuggestionsSectionID)sectionID |
- 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. |
-@property(nonatomic, assign, readonly) ContentSuggestionsSectionID sectionID; |
-// Title for the section. |
-@property(nonatomic, copy) NSString* title; |
-// Title of the section's footer. If it is nil, no footer is created. |
-@property(nonatomic, copy) NSString* footerTitle; |
- |
-@end |
- |
-#endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_INFORMATION_H_ |