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

Side by Side Diff: ios/chrome/browser/ui/bookmarks/bookmark_folder_view_controller.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_FOLDER_VIEW_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_VIEW_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_VIEW_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_VIEW_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 #include <set> 9 #include <set>
10 10
(...skipping 13 matching lines...) Expand all
24 - (void)folderPickerDidCancel:(BookmarkFolderViewController*)folderPicker; 24 - (void)folderPickerDidCancel:(BookmarkFolderViewController*)folderPicker;
25 @end 25 @end
26 26
27 // A folder selector view controller. 27 // A folder selector view controller.
28 // 28 //
29 // This controller monitors the state of the bookmark model, so changes to the 29 // This controller monitors the state of the bookmark model, so changes to the
30 // bookmark model can affect this controller's state. 30 // bookmark model can affect this controller's state.
31 // The bookmark model is assumed to be loaded, thus also not to be NULL. 31 // The bookmark model is assumed to be loaded, thus also not to be NULL.
32 @interface BookmarkFolderViewController : UIViewController 32 @interface BookmarkFolderViewController : UIViewController
33 33
34 @property(nonatomic, weak) id<BookmarkFolderViewControllerDelegate> delegate; 34 @property(nonatomic, assign) id<BookmarkFolderViewControllerDelegate> delegate;
35 35
36 // The current nodes (bookmarks or folders) that are considered for a move. 36 // The current nodes (bookmarks or folders) that are considered for a move.
37 @property(nonatomic, assign, readonly) 37 @property(nonatomic, assign, readonly)
38 const std::set<const bookmarks::BookmarkNode*>& editedNodes; 38 const std::set<const bookmarks::BookmarkNode*>& editedNodes;
39 39
40 // Initializes the view controller with a bookmarks model. |allowsNewFolders| 40 // Initializes the view controller with a bookmarks model. |allowsNewFolders|
41 // will instruct the controller to provide the necessary UI to create a folder. 41 // will instruct the controller to provide the necessary UI to create a folder.
42 // |bookmarkModel| must not be NULL and must be loaded. 42 // |bookmarkModel| must not be NULL and must be loaded.
43 // |editedNodes| affects which cells can be selected, since it is not possible 43 // |editedNodes| affects which cells can be selected, since it is not possible
44 // to move a node into its subnode. 44 // to move a node into its subnode.
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // be called by subclasses if they override this method in order to maintain 78 // be called by subclasses if they override this method in order to maintain
79 // this functionality. 79 // this functionality.
80 - (void)scrollViewWillEndDragging:(UIScrollView*)scrollView 80 - (void)scrollViewWillEndDragging:(UIScrollView*)scrollView
81 withVelocity:(CGPoint)velocity 81 withVelocity:(CGPoint)velocity
82 targetContentOffset:(inout CGPoint*)targetContentOffset 82 targetContentOffset:(inout CGPoint*)targetContentOffset
83 NS_REQUIRES_SUPER; 83 NS_REQUIRES_SUPER;
84 84
85 @end 85 @end
86 86
87 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_VIEW_CONTROLLER_H_ 87 #endif // IOS_CHROME_BROWSER_UI_BOOKMARKS_BOOKMARK_FOLDER_VIEW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698