Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(672)

Issue 393006: Change the folder presentation in the Bookmark Editor and the Bookmark All Ta... (Closed)

Created:
11 years, 1 month ago by mrossetti
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, brettw+cc_chromium.org
Visibility:
Public.

Description

Change the folder presentation in the Bookmark Editor and the Bookmark All Tabs dialogs to a tree view. Nib changes: Removed the NSBrowser and added an NSOutlineView. BUG=26647, 26643, 26718, 27634 TEST=Bring up the bookmark editor by control-clicking in the bookmarks bar and selecting Add Page... or by selecting the Bookmark this Page... menu item found in the Bookmarks menu. Observe that the folder presentation is now a tree view. Select any folder and click New Folder to verify that new folders can be added. Double-click on the newly created folder to change its name. Added folders will not commit until OK is pressed, which will require that a bookmark actually be added. Also bring up the Bookmark All Tabs dialog by control-clicking in the tab bar with more than one tab open and verify that the folder structure is shown in a tree view. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32441

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 34

Patch Set 3 : '' #

Total comments: 22

Patch Set 4 : '' #

Total comments: 10

Patch Set 5 : '' #

Total comments: 2

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1295 lines, -588 lines) Patch
M chrome/app/nibs/BookmarkAllTabs.xib View 2 3 4 5 20 chunks +371 lines, -87 lines 0 comments Download
M chrome/app/nibs/BookmarkEditor.xib View 2 3 4 5 20 chunks +347 lines, -102 lines 0 comments Download
M chrome/browser/cocoa/bookmark_all_tabs_controller.h View 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/bookmark_all_tabs_controller.mm View 2 3 4 5 4 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/cocoa/bookmark_all_tabs_controller_unittest.mm View 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_base_controller.h View 2 3 4 5 6 chunks +86 lines, -16 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_base_controller.mm View 2 3 4 5 8 chunks +280 lines, -211 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_base_controller_unittest.mm View 2 3 4 5 5 chunks +51 lines, -18 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_controller.h View 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_controller.mm View 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_controller_unittest.mm View 2 3 4 5 16 chunks +135 lines, -132 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
mrossetti
Changing to an NSOutlineView dramatically simplifies the implementation.
11 years, 1 month ago (2009-11-13 06:53:46 UTC) #1
TVL
changed started out with a change to base/mac_util.mm?
11 years, 1 month ago (2009-11-13 12:49:27 UTC) #2
TVL
http://codereview.chromium.org/393006/diff/3/1005 File chrome/browser/cocoa/bookmark_editor_base_controller.h (right): http://codereview.chromium.org/393006/diff/3/1005#newcode98 Line 98: #if 0 remove? http://codereview.chromium.org/393006/diff/3/1007 File chrome/browser/cocoa/bookmark_editor_base_controller.mm (right): http://codereview.chromium.org/393006/diff/3/1007#newcode172 ...
11 years, 1 month ago (2009-11-13 13:08:58 UTC) #3
John Grabowski
http://codereview.chromium.org/393006/diff/3/1004 File chrome/browser/cocoa/bookmark_all_tabs_controller.mm (right): http://codereview.chromium.org/393006/diff/3/1004#newcode59 Line 59: [super ok:sender]; Are you sure you want this ...
11 years, 1 month ago (2009-11-13 17:39:34 UTC) #4
mrossetti
Issues addressed! I'm going to be out until late this evening so I won't be ...
11 years, 1 month ago (2009-11-13 23:57:35 UTC) #5
John Grabowski
Please fix the CocoaTest thing and I'll LGTM you. I don't like the use of ...
11 years, 1 month ago (2009-11-15 21:05:24 UTC) #6
pink (ping after 24hrs)
drive-by http://codereview.chromium.org/393006/diff/4003/8004 File chrome/browser/cocoa/bookmark_editor_base_controller.h (right): http://codereview.chromium.org/393006/diff/4003/8004#newcode40 Line 40: // An array of dictionaries where each ...
11 years, 1 month ago (2009-11-17 15:08:57 UTC) #7
mrossetti
This has been a lot of fun. Thanks for all the great observations! http://codereview.chromium.org/393006/diff/4003/8009 File ...
11 years, 1 month ago (2009-11-17 23:22:09 UTC) #8
John Grabowski
LGTM if memory problems in bookmark_editor_base_controller.mm fixed. Re: NSNumber and not BOOL. Sadness but I ...
11 years, 1 month ago (2009-11-18 18:48:21 UTC) #9
mrossetti
http://codereview.chromium.org/393006/diff/10002/12003 File chrome/browser/cocoa/bookmark_all_tabs_controller.mm (right): http://codereview.chromium.org/393006/diff/10002/12003#newcode55 Line 55: // folder for the tabs and then the ...
11 years, 1 month ago (2009-11-18 19:25:33 UTC) #10
mrossetti
Please take one more quick look at the changes in bookmark_editor_base_controller.h/.mm for BookmarkFolderInfo's init... functions.
11 years, 1 month ago (2009-11-18 22:00:04 UTC) #11
pink (ping after 24hrs)
lgtm http://codereview.chromium.org/393006/diff/12013/12018 File chrome/browser/cocoa/bookmark_editor_base_controller.h (right): http://codereview.chromium.org/393006/diff/12013/12018#newcode115 Line 115: const BookmarkNode* folderNode_; weak reference http://codereview.chromium.org/393006/diff/12013/12019 File ...
11 years, 1 month ago (2009-11-18 23:11:49 UTC) #12
John Grabowski
11 years, 1 month ago (2009-11-18 23:22:17 UTC) #13
Still LGTM

On Wed, Nov 18, 2009 at 2:00 PM, <mrossetti@chromium.org> wrote:

> Please take one  more quick look at the changes in
> bookmark_editor_base_controller.h/.mm for BookmarkFolderInfo's init...
> functions.
>
>
> http://codereview.chromium.org/393006
>

Powered by Google App Engine
This is Rietveld 408576698