Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(308)

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmark_collection_cells.h

Issue 2738053008: Revert of [ObjC ARC] Converts ios/chrome/browser/ui/bookmarks:bookmarks_arc_2 to ARC. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_COLLECTION_CELLS_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_COLLECTION_CELLS_H_
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_COLLECTION_CELLS_H_ 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_COLLECTION_CELLS_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 namespace bookmark_cell { 10 namespace bookmark_cell {
(...skipping 25 matching lines...) Expand all
36 #pragma mark - Base Classes For Both Device Types 36 #pragma mark - Base Classes For Both Device Types
37 37
38 // Abstract base class for cells in the bookmark collection view. 38 // Abstract base class for cells in the bookmark collection view.
39 // Most controllers that use this cell have an "edit" mode that allows users to 39 // Most controllers that use this cell have an "edit" mode that allows users to
40 // select multiple bookmarks. When a cell is selected, a translucent overlay 40 // select multiple bookmarks. When a cell is selected, a translucent overlay
41 // is layered on top to change the look of the view. 41 // is layered on top to change the look of the view.
42 // Subclasses should insert new views below the "highlightCover" property. 42 // Subclasses should insert new views below the "highlightCover" property.
43 // There is also an image and an optional menu button. 43 // There is also an image and an optional menu button.
44 @interface BookmarkCell : UICollectionViewCell<BookmarkImageableView> 44 @interface BookmarkCell : UICollectionViewCell<BookmarkImageableView>
45 45
46 @property(nonatomic, strong, readonly) UILabel* titleLabel; 46 @property(nonatomic, retain, readonly) UILabel* titleLabel;
47 47
48 + (NSString*)reuseIdentifier; 48 + (NSString*)reuseIdentifier;
49 49
50 // Sets the target/selector for the top-right corner button. 50 // Sets the target/selector for the top-right corner button.
51 // |action| must take exactly 2 arguments. 51 // |action| must take exactly 2 arguments.
52 // The first object passed to |action| will be of type BookmarkItemCell. 52 // The first object passed to |action| will be of type BookmarkItemCell.
53 // The second will be the view that was tapped on to trigger the action. 53 // The second will be the view that was tapped on to trigger the action.
54 - (void)setButtonTarget:(id)target action:(SEL)action; 54 - (void)setButtonTarget:(id)target action:(SEL)action;
55 55
56 // Changes the appearance of the button. 56 // Changes the appearance of the button.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 - (void)setTitle:(NSString*)title; 88 - (void)setTitle:(NSString*)title;
89 @end 89 @end
90 90
91 // Blank white header with thin separator line in the bottom. 91 // Blank white header with thin separator line in the bottom.
92 @interface BookmarkHeaderSeparatorView : UICollectionReusableView 92 @interface BookmarkHeaderSeparatorView : UICollectionReusableView
93 + (NSString*)reuseIdentifier; 93 + (NSString*)reuseIdentifier;
94 + (CGFloat)preferredHeight; 94 + (CGFloat)preferredHeight;
95 @end 95 @end
96 96
97 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_COLLECTION_CELLS_H_ 97 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_COLLECTION_CELLS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/bookmarks/BUILD.gn ('k') | ios/chrome/browser/ui/bookmarks/bookmark_collection_cells.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698