| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_IN
FORMATION_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_IN
FORMATION_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_IN
FORMATION_H_ | 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION_IN
FORMATION_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 | 9 |
| 10 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" | 10 #import "ios/chrome/browser/ui/collection_view/cells/collection_view_item.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 | 39 |
| 40 // Item to display when the section is empty. If nil the section should not be | 40 // Item to display when the section is empty. If nil the section should not be |
| 41 // displayed when empty. | 41 // displayed when empty. |
| 42 @property(nonatomic, strong) CollectionViewItem* emptyCell; | 42 @property(nonatomic, strong) CollectionViewItem* emptyCell; |
| 43 // Layout to display the content of the section. | 43 // Layout to display the content of the section. |
| 44 @property(nonatomic, assign) ContentSuggestionsSectionLayout layout; | 44 @property(nonatomic, assign) ContentSuggestionsSectionLayout layout; |
| 45 // ID of the section. Used for ordering. | 45 // ID of the section. Used for ordering. |
| 46 @property(nonatomic, assign, readonly) ContentSuggestionsSectionID sectionID; | 46 @property(nonatomic, assign, readonly) ContentSuggestionsSectionID sectionID; |
| 47 // Title for the section. | 47 // Title for the section. |
| 48 @property(nonatomic, copy) NSString* title; | 48 @property(nonatomic, copy) NSString* title; |
| 49 // Title of the section's footer. If it is nil, no footer is created. |
| 50 @property(nonatomic, copy) NSString* footerTitle; |
| 49 | 51 |
| 50 @end | 52 @end |
| 51 | 53 |
| 52 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION
_INFORMATION_H_ | 54 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_SECTION
_INFORMATION_H_ |
| OLD | NEW |