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_FOLDER_COLLECTION_VIEW_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_COLLECTION_VIEW_H_ |
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_COLLECTION_VIEW_H_ | 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_COLLECTION_VIEW_H_ |
7 | 7 |
8 #import "ios/chrome/browser/ui/bookmarks/bookmark_collection_view.h" | 8 #import "ios/chrome/browser/ui/bookmarks/bookmark_collection_view.h" |
9 | 9 |
10 @class BookmarkFolderCollectionView; | 10 @class BookmarkFolderCollectionView; |
(...skipping 13 matching lines...) Expand all Loading... |
24 // folder transition. Depending on the type of animation that the designers | 24 // folder transition. Depending on the type of animation that the designers |
25 // choose, we may require multiple instances of this view. | 25 // choose, we may require multiple instances of this view. |
26 @interface BookmarkFolderCollectionView : BookmarkCollectionView | 26 @interface BookmarkFolderCollectionView : BookmarkCollectionView |
27 | 27 |
28 // Refreshes the entire view to reflect |folder|. | 28 // Refreshes the entire view to reflect |folder|. |
29 - (void)resetFolder:(const bookmarks::BookmarkNode*)folder; | 29 - (void)resetFolder:(const bookmarks::BookmarkNode*)folder; |
30 | 30 |
31 // Called when something outside the view causes the promo state to change. | 31 // Called when something outside the view causes the promo state to change. |
32 - (void)promoStateChangedAnimated:(BOOL)animate; | 32 - (void)promoStateChangedAnimated:(BOOL)animate; |
33 | 33 |
34 @property(nonatomic, weak) id<BookmarkFolderCollectionViewDelegate> delegate; | 34 @property(nonatomic, assign) id<BookmarkFolderCollectionViewDelegate> delegate; |
35 @property(nonatomic, assign, readonly) const bookmarks::BookmarkNode* folder; | 35 @property(nonatomic, assign, readonly) const bookmarks::BookmarkNode* folder; |
36 | 36 |
37 @end | 37 @end |
38 | 38 |
39 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_COLLECTION_VIEW_H_ | 39 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_COLLECTION_VIEW_H_ |
OLD | NEW |