Chromium Code Reviews
DescriptionImplement 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.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31200
Patch Set 1 #Patch Set 2 : '' #
Total comments: 25
Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #
Total comments: 26
Patch Set 6 : '' #Messages
Total messages: 9 (0 generated)
|