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

Issue 345045: Bookmark context menu "Edit" starts with current name, not "New Folder".... (Closed)

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

Description

Bookmark context menu "Edit" starts with current name, not "New Folder". "Add Folder..." from either buttons or bar happier (always adds, doesn't edit). "Add Folder..." now allows you to rename new folders the default name ("New Folder"). BUG=http://crbug.com/26364, http://crbug.com/26407 TEST=Over a bookmark button for a 'mark or folder, context menu --> Edit. Make sure initial name is current name, not "New Folder". Over button for 'mark, for folder, or bar itself: context menu --> Add Folder. Make sure initial name is "New Folder", and that it creates a folder (not a rename). Make sure you are allowed to create a folder named "New Folder". Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30866

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -59 lines) Patch
M chrome/app/nibs/BookmarkBar.xib View 7 chunks +21 lines, -21 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 1 2 chunks +8 lines, -12 lines 0 comments Download
M chrome/browser/cocoa/bookmark_name_folder_controller.h View 1 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/bookmark_name_folder_controller.mm View 1 4 chunks +24 lines, -17 lines 0 comments Download
M chrome/browser/cocoa/bookmark_name_folder_controller_unittest.mm View 2 chunks +36 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
John Grabowski
11 years, 1 month ago (2009-11-03 15:05:44 UTC) #1
mrossetti
LGTM http://codereview.chromium.org/345045/diff/1/4 File chrome/browser/cocoa/bookmark_name_folder_controller.h (right): http://codereview.chromium.org/345045/diff/1/4#newcode15 Line 15: // renaming an existing folder. Accessible from ...
11 years, 1 month ago (2009-11-03 16:11:28 UTC) #2
pink (ping after 24hrs)
lgtm http://codereview.chromium.org/345045/diff/1/3 File chrome/browser/cocoa/bookmark_bar_controller.mm (right): http://codereview.chromium.org/345045/diff/1/3#newcode487 Line 487: [[BookmarkNameFolderController alloc] continuation lines indent additional 4 ...
11 years, 1 month ago (2009-11-03 16:49:05 UTC) #3
John Grabowski
11 years, 1 month ago (2009-11-03 20:18:41 UTC) #4
Final diffs up; thx guys.

http://codereview.chromium.org/345045/diff/1/3
File chrome/browser/cocoa/bookmark_bar_controller.mm (right):

http://codereview.chromium.org/345045/diff/1/3#newcode487
Line 487: [[BookmarkNameFolderController alloc]
On 2009/11/03 16:49:05, pink wrote:
> continuation lines indent additional 4 spaces

M-x need-to-fix-emacs <RET> ARGH! <RET>

http://codereview.chromium.org/345045/diff/1/4
File chrome/browser/cocoa/bookmark_name_folder_controller.h (right):

http://codereview.chromium.org/345045/diff/1/4#newcode15
Line 15: // renaming an existing folder.  Accessible from a context menu on a
On 2009/11/03 16:11:28, mrossetti wrote:
> s/renaming/rename/
sedded

http://codereview.chromium.org/345045/diff/1/5
File chrome/browser/cocoa/bookmark_name_folder_controller.mm (right):

http://codereview.chromium.org/345045/diff/1/5#newcode28
Line 28: l10n_util::GetString(IDS_BOOMARK_EDITOR_NEW_FOLDER_NAME);
On 2009/11/03 16:49:05, pink wrote:
> GetNSStringWithFixup?

done

Powered by Google App Engine
This is Rietveld 408576698