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

Issue 391046: Fix "open all" on a folder node to open only 'marks in that folder,... (Closed)

Created:
11 years, 1 month ago by John Grabowski
Modified:
9 years, 6 months ago
Reviewers:
mrossetti, viettrungluu
CC:
chromium-reviews_googlegroups.com, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Fix "open all" on a folder node to open only 'marks in that folder, not ALL all. Make Delete and Rename enabled for folder context menu (but disabled for "Other Bookmarks"). nib changes (related to the context menus): - Telegate is the bookmark bar controller. - Switched type from NSMenu to BookmarkMenu. TEST=New window. Create folder "empty" with nothing in it. Create folder "two" with 2 bookmarks in it. Create a final bookmark in the top level of the bar. Context menu (right click) over all folders. Make sure Delete and Rename enabled for folders but not "Other Bookmarks". Make sure "Open All" (and friends) disabled over "empty", enabled over "two". "Open All" on "two" --> see 2 opened. "Open All" on the bar itself --> see 3 opened. Ditto for "Open all in new window" and "open all in incognito window". Create a new window. In new window, make sure folders have context menus. BUG=http://crbug.com/27522, http://crbug.com/27529 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=32029

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 7

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -781 lines) Patch
M chrome/app/nibs/BookmarkBar.xib View 1 2 27 chunks +82 lines, -723 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 1 2 11 chunks +69 lines, -30 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller_unittest.mm View 1 2 7 chunks +72 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/bookmark_button_cell.mm View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/bookmark_button_cell_unittest.mm View 1 2 2 chunks +1 line, -15 lines 0 comments Download
A chrome/browser/cocoa/bookmark_menu.h View 1 chunk +18 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/bookmark_menu.mm View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/cocoa/bookmark_menu_unittest.mm View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 5 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
John Grabowski
11 years, 1 month ago (2009-11-13 05:17:47 UTC) #1
mrossetti
LGTM with minor comments. http://codereview.chromium.org/391046/diff/2001/2003 File chrome/browser/cocoa/bookmark_bar_controller.mm (right): http://codereview.chromium.org/391046/diff/2001/2003#newcode50 Line 50: Got a bit blank ...
11 years, 1 month ago (2009-11-13 19:11:08 UTC) #2
viettrungluu
+1 on mrossetti's comments. Otherwise, this CL gives me the "there must be a better ...
11 years, 1 month ago (2009-11-13 21:19:45 UTC) #3
John Grabowski
All changes applied. New diffs up. Now I lose a day since these files are ...
11 years, 1 month ago (2009-11-13 21:29:18 UTC) #4
pinkerton1
11 years, 1 month ago (2009-11-17 14:39:33 UTC) #5
What happened?

On Fri, Nov 13, 2009 at 1:29 PM,  <jrg@chromium.org> wrote:
> All changes applied.
> New diffs up.
>
> Now I lose a day since these files are all renamed due to non-M4 changes :-(
>
>
> http://codereview.chromium.org/391046
>



-- 
Mike Pinkerton
Mac Weenie
pinkerton@google.com

Powered by Google App Engine
This is Rietveld 408576698