OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_BOOKMARKS_BOOKMARK_MENU_CELL_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_MENU_CELL_H_ |
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_MENU_CELL_H_ | 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_MENU_CELL_H_ |
7 | 7 |
8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
9 | 9 |
10 @class BookmarkMenuItem; | 10 @class BookmarkMenuItem; |
11 @class MDCInkView; | 11 @class MDCInkView; |
12 | 12 |
13 // A single cell of the bookmark menu. | 13 // A single cell of the bookmark menu. |
14 @interface BookmarkMenuCell : UITableViewCell | 14 @interface BookmarkMenuCell : UITableViewCell |
15 | 15 |
16 // The view used to display the ink effect. | 16 // The view used to display the ink effect. |
17 @property(nonatomic, retain) MDCInkView* inkView; | 17 @property(nonatomic, strong) MDCInkView* inkView; |
18 | 18 |
19 // Updates the UI of the cell to reflect the menu item. | 19 // Updates the UI of the cell to reflect the menu item. |
20 - (void)updateWithBookmarkMenuItem:(BookmarkMenuItem*)item | 20 - (void)updateWithBookmarkMenuItem:(BookmarkMenuItem*)item |
21 primary:(BOOL)primary; | 21 primary:(BOOL)primary; |
22 + (NSString*)reuseIdentifier; | 22 + (NSString*)reuseIdentifier; |
23 @end | 23 @end |
24 | 24 |
25 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_MENU_CELL_H_ | 25 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_MENU_CELL_H_ |
OLD | NEW |