diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 03:24:29 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-06 03:24:29 +0000 |
commit | a5971dc68d14d4cb063c10138133483a14cd7530 (patch) | |
tree | a141b12594ce9c79a25dd586b5b754976d14ab11 /chrome/browser/bookmarks/bookmark_storage.h | |
parent | 85c55dcd717445cd3763b5c94f9902b4cdd194b0 (diff) | |
download | chromium_src-a5971dc68d14d4cb063c10138133483a14cd7530.zip chromium_src-a5971dc68d14d4cb063c10138133483a14cd7530.tar.gz chromium_src-a5971dc68d14d4cb063c10138133483a14cd7530.tar.bz2 |
Implement Bookmark All Tabs... Added an abstraction of BookmarkEditorController called BookmarkEditorBaseController, from which BookmarkEditorController and the new BookmarkAllTabsController derive. The bookmark/folder name, URL and OK button now use bindings/KVO. Added BookmarkAllTabs.xib which is nearly identical to BookmarkEditor.xib. Changed unit test since an empty bookmark name is now acceptable. Added unit test for the Bookmark All Tabs...
BookmarkEditor.xib changes: Removed the bookmark name and url as outlets and instead bound their values to controller's displayName and displayURL respectively. Bound the OK button enabling to the controller's okEnabled.
BUG=25099
TEST=Open two or more tabs. Bring up a contextual menu by control-clicking on one of the tabs. Choose the Bookmark All Tabs... menu item. A dialog will be presented in which you can type a folder name and select the parent folder in which the new folder will be placed. By default, the most recently touched folder will be selected as the parent. Click OK. Now check to parent folder to see that the newly created folder has been added and then check within that folder to see that the open tabs have been added.
Perform the above operation again only this time choose the Bookmark All Tabs... menu item found in the Bookmarks menu.
Review URL: http://codereview.chromium.org/357005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31200 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_storage.h')
0 files changed, 0 insertions, 0 deletions