diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 15:44:52 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 15:44:52 +0000 |
commit | c117dffdb52bb572ac6f5f61e364b62d502129f2 (patch) | |
tree | 40008fd901a8423ece4f02393d3a8e5d9d7124ab /chrome/views/table_view.h | |
parent | e6f45624a5e05fcce4171080c56d5a671bd28e97 (diff) | |
download | chromium_src-c117dffdb52bb572ac6f5f61e364b62d502129f2.zip chromium_src-c117dffdb52bb572ac6f5f61e364b62d502129f2.tar.gz chromium_src-c117dffdb52bb572ac6f5f61e364b62d502129f2.tar.bz2 |
Enables sorting of the tables in the password editor and the URL
picker dialog.
BUG=2949
TEST=Try sorting in the password manager dialog table as well as when
adding a URL to the list of URLs to open on startup.
Review URL: http://codereview.chromium.org/6053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3010 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/table_view.h')
-rw-r--r-- | chrome/views/table_view.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/views/table_view.h b/chrome/views/table_view.h index a2cfc40..6f2df47 100644 --- a/chrome/views/table_view.h +++ b/chrome/views/table_view.h @@ -8,6 +8,8 @@ #include <windows.h> #include <map> +#include <unicode/coll.h> +#include <unicode/uchar.h> #include <vector> #include "base/logging.h" @@ -147,6 +149,10 @@ class TableModel { // This implementation does a case insensitive locale specific string // comparison. virtual int CompareValues(int row1, int row2, int column_id); + + protected: + // Returns the collator used by CompareValues. + Collator* GetCollator(); }; // TableColumn specifies the title, alignment and size of a particular column. |