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

Unified Diff: ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h

Issue 2666833003: Revert of Removing "All Bookmarks" (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h
diff --git a/ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h b/ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h
index d453234428857137c9ca9484413f78341e69a662..f9a4b00cd33d0bccff3bcdf943fbbf6aa1b08880 100644
--- a/ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h
+++ b/ios/chrome/browser/ui/bookmarks/bookmark_menu_item.h
@@ -16,6 +16,8 @@
// and must not be changed. New values must be added at the end, and if
// a value is removed it should not be reused.
typedef enum {
+ // Corresponds with the "all items" view.
+ MenuItemAll = 0,
// A very thin divider.
MenuItemDivider = 1,
// A BookmarkNode* that is a folder.
@@ -49,6 +51,7 @@
// Returns the menuitem located at the root ancestor of this item.
- (BookmarkMenuItem*)parentItem;
++ (BookmarkMenuItem*)allMenuItem;
+ (BookmarkMenuItem*)dividerMenuItem;
+ (BookmarkMenuItem*)folderMenuItemForNode:(const bookmarks::BookmarkNode*)node
rootAncestor:

Powered by Google App Engine
This is Rietveld 408576698