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/views | |
| 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/views')
| -rw-r--r-- | chrome/views/table_view.cc | 5 | ||||
| -rw-r--r-- | chrome/views/table_view.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/chrome/views/table_view.cc b/chrome/views/table_view.cc index 8403359..c061951 100644 --- a/chrome/views/table_view.cc +++ b/chrome/views/table_view.cc @@ -26,10 +26,11 @@ const int kListViewTextPadding = 15; // Additional column width necessary if column has icons. const int kListViewIconWidthAndPadding = 18; -const int kImageSize = 18; - // TableModel ----------------------------------------------------------------- +// static +const int TableView::kImageSize = 18; + // Used for sorting. static Collator* collator = NULL; diff --git a/chrome/views/table_view.h b/chrome/views/table_view.h index b02ec24..88dada3 100644 --- a/chrome/views/table_view.h +++ b/chrome/views/table_view.h @@ -489,6 +489,9 @@ class TableView : public NativeControl, // content. int content_offset() const { return content_offset_; } + // Size (width and height) of images. + static const int kImageSize; + private: // Direction of a sort. enum SortDirection { |
