diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 03:59:44 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 03:59:44 +0000 |
commit | b24740e3b9555bc7b28b602a588a36665882602e (patch) | |
tree | 1f5714dc4f932b4707455717d68f1eced18c1052 /chrome/browser/views/bookmark_manager_view.h | |
parent | 4831051e6bce5f55c3954bea208c0ce118ea25ff (diff) | |
download | chromium_src-b24740e3b9555bc7b28b602a588a36665882602e.zip chromium_src-b24740e3b9555bc7b28b602a588a36665882602e.tar.gz chromium_src-b24740e3b9555bc7b28b602a588a36665882602e.tar.bz2 |
Fixes a handful of related bookmark manager bugs/requests:
. Adds a search field before the text field.
. When the search node is selected and there are no results or no
search text, a descriptive label is drawn on top of the table
telling the user what's happening.
. In the bookmark menus Edit... is now Rename... for folders.
BUG=5272 5319 5273 4165
TEST=see individual bugs
Review URL: http://codereview.chromium.org/13724
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/bookmark_manager_view.h')
-rw-r--r-- | chrome/browser/views/bookmark_manager_view.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/views/bookmark_manager_view.h b/chrome/browser/views/bookmark_manager_view.h index 0a4fede..1bcb1c0 100644 --- a/chrome/browser/views/bookmark_manager_view.h +++ b/chrome/browser/views/bookmark_manager_view.h @@ -158,9 +158,11 @@ class BookmarkManagerView : public views::View, // is no search text. BookmarkTableModel* CreateSearchTableModel(); - // Sets the model of the table and its parent node. + // Sets the model of the table and its parent node. If |is_search| is true, + // it means the table is showing search results. void SetTableModel(BookmarkTableModel* new_table_model, - BookmarkNode* parent_node); + BookmarkNode* parent_node, + bool is_search); // Sets the table's model to the results of CreateSearchTableModel and selects // the search node in the tree. |