diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 23:14:01 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-03 23:14:01 +0000 |
commit | 3ec1a3af311b95b325a3302679be1eb68e89e58e (patch) | |
tree | 61049c73993b824ce537cf62cea8acfb74cbf14a /chrome/common/pref_names.cc | |
parent | 32f720c5a051885d45b79533522c06870e7037ff (diff) | |
download | chromium_src-3ec1a3af311b95b325a3302679be1eb68e89e58e.zip chromium_src-3ec1a3af311b95b325a3302679be1eb68e89e58e.tar.gz chromium_src-3ec1a3af311b95b325a3302679be1eb68e89e58e.tar.bz2 |
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
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r-- | chrome/common/pref_names.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 0cb1b2c..d44ce18 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -216,13 +216,16 @@ const wchar_t kBookmarkTableNameWidth2[] = L"bookmark_table.name_width_2"; const wchar_t kBookmarkTableURLWidth2[] = L"bookmark_table.url_width_2"; const wchar_t kBookmarkTablePathWidth[] = L"bookmark_table.path_width"; -// Boolean pref to define the default values for using spellchecker. -const wchar_t kEnableSpellCheck[] = L"browser.enable_spellchecking"; - // Bounds of the bookmark manager. const wchar_t kBookmarkManagerPlacement[] = L"bookmark_manager.window_placement"; +// Integer location of the split bar in the bookmark manager. +const wchar_t kBookmarkManagerSplitLocation[] = + L"bookmark_manager.split_location"; + +// Boolean pref to define the default values for using spellchecker. +const wchar_t kEnableSpellCheck[] = L"browser.enable_spellchecking"; // *************** LOCAL STATE *************** // These are attached to the machine/installation |