From 3ec1a3af311b95b325a3302679be1eb68e89e58e Mon Sep 17 00:00:00 2001 From: "sky@google.com" Date: Mon, 3 Nov 2008 23:14:01 +0000 Subject: Miscellaneous bookmark manager polish: . Adds a menu button on the bookmark manager. If I finish up import I'll add a second one for importing. . Creating new page/folder from menu items selects new item in table. . I changed around the FolderBookmarkTableModel to copy the contents into a vector (now extends VectorBackedTabledModel). This is necessitated by TableView not providing a moved notification. The problem with previous approach is that I sent out ModelChanged on any change, which loses selection and causes things to snap around. I considered adding a moved method to TableView, but it's too much work at this time. . Added persisting of divider location in bookmark manager. . When focus is on table pressing enter on a folder descends into the folder, and pressing backspace goes back up a folder. BUG=674 TEST=none Review URL: http://codereview.chromium.org/8967 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4512 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/bookmarks/bookmark_context_menu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chrome/browser/bookmarks/bookmark_context_menu.h') diff --git a/chrome/browser/bookmarks/bookmark_context_menu.h b/chrome/browser/bookmarks/bookmark_context_menu.h index 5b48627..2991637 100644 --- a/chrome/browser/bookmarks/bookmark_context_menu.h +++ b/chrome/browser/bookmarks/bookmark_context_menu.h @@ -23,7 +23,8 @@ class BookmarkContextMenu : public views::MenuDelegate, enum ConfigurationType { BOOKMARK_BAR, BOOKMARK_MANAGER_TABLE, - BOOKMARK_MANAGER_TREE + BOOKMARK_MANAGER_TREE, + BOOKMARK_MANAGER_ORGANIZE_MENU }; // Creates the bookmark context menu. -- cgit v1.1