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_EXPANDABLE_ITEM_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_EXPANDABLE_ITEM_H_ |
6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_EXPANDABLE_ITEM_H_ | 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_EXPANDABLE_ITEM_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 // Protocol allowing a CollectionViewItem to be expanded. | 10 // Protocol allowing a CollectionViewItem to be expanded. |
11 @protocol ExpandableItem | 11 @protocol ExpandableItem |
12 | 12 |
13 // Whether the cells should be in expanded mode. | 13 // Whether the cells should be in expanded mode. |
14 @property(nonatomic) BOOL expanded; | 14 @property(nonatomic) BOOL expanded; |
15 | 15 |
16 @end | 16 @end |
17 | 17 |
18 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_EXPANDABLE_ITEM_H_ | 18 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CELLS_EXPANDABLE_ITEM_H_ |
OLD | NEW |