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

Issue 271115: Makes canceling 'bookmark all tabs' delete the folder. Or rather,... (Closed)

Created:
11 years, 2 months ago by sky
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ncarter (slow), ben+cc_chromium.org, John Grabowski, idana, pam+watch_chromium.org, Paweł Hajdan Jr., tim (not reviewing)
Visibility:
Public.

Description

Makes canceling 'bookmark all tabs' delete the folder. Or rather, makes it so that bookmark all tabs only creates the folder if the user presses ok. I wasn't happy adding another random arg to BookmarkEditor::Show, so I added in a structure an enum. This makes it clearer what Show should do. I also fixed the following: . On gtk we wouldn't always pick the right parent for nodes. . The context menu item is now enabled on views/gtk. And this now breaks the mac side. I'll straighten that out right after landing this. BUG=24367 TEST=Make sure 'bookmark all tabs' works, as well as the bookmark editor work. (get to the bookmark editor by creating a new bookmark, then clicking edit, or right clicking a bookmark on the bookmark bar and choosing edit). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29343

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+313 lines, -234 lines) Patch
M chrome/browser/bookmarks/bookmark_context_menu_controller.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_editor.h View 1 2 3 2 chunks +49 lines, -11 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.h View 1 2 3 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/bookmarks/bookmark_utils.cc View 1 2 3 4 chunks +65 lines, -48 lines 0 comments Download
M chrome/browser/browser.cc View 1 2 3 1 chunk +9 lines, -5 lines 0 comments Download
M chrome/browser/cocoa/bookmark_bar_controller.mm View 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/bookmark_editor_controller.mm View 1 2 3 1 chunk +12 lines, -7 lines 0 comments Download
M chrome/browser/gtk/bookmark_bubble_gtk.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/gtk/bookmark_context_menu_gtk.cc View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/gtk/bookmark_editor_gtk.h View 1 2 3 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/gtk/bookmark_editor_gtk.cc View 1 2 3 10 chunks +32 lines, -25 lines 2 comments Download
M chrome/browser/gtk/bookmark_editor_gtk_unittest.cc View 1 2 3 9 chunks +18 lines, -9 lines 0 comments Download
M chrome/browser/gtk/bookmark_manager_gtk.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/gtk/bookmark_tree_model.h View 1 2 3 1 chunk +3 lines, -6 lines 0 comments Download
M chrome/browser/gtk/bookmark_tree_model.cc View 1 2 3 3 chunks +8 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/change_processor.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/bookmark_bubble_view.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/views/bookmark_editor_view.h View 1 2 3 4 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/views/bookmark_editor_view.cc View 1 2 3 9 chunks +23 lines, -20 lines 0 comments Download
M chrome/browser/views/bookmark_editor_view_unittest.cc View 1 2 3 11 chunks +54 lines, -55 lines 0 comments Download
M chrome/browser/views/tabs/tab.cc View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/test/live_sync/bookmark_model_verifier.cc View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/test/live_sync/two_client_live_bookmarks_sync_test.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sky
11 years, 2 months ago (2009-10-15 23:53:45 UTC) #1
Elliot Glaysher
LGTM, but I also want Evan to weigh in on this, since he was the ...
11 years, 2 months ago (2009-10-16 01:07:23 UTC) #2
Evan Stade
gtk bits lgtm with nits also note the lint error http://codereview.chromium.org/271115/diff/6001/6010 File chrome/browser/gtk/bookmark_editor_gtk.cc (right): http://codereview.chromium.org/271115/diff/6001/6010#newcode394 ...
11 years, 2 months ago (2009-10-16 20:08:05 UTC) #3
sky
11 years, 2 months ago (2009-10-16 20:15:31 UTC) #4
Thanks. The lint error is error, pair is in utility.

  -Scott

On Fri, Oct 16, 2009 at 1:08 PM,  <estade@chromium.org> wrote:
>
> gtk bits lgtm with nits
>
> also note the lint error
>
>
> http://codereview.chromium.org/271115/diff/6001/6010
> File chrome/browser/gtk/bookmark_editor_gtk.cc (right):
>
> http://codereview.chromium.org/271115/diff/6001/6010#newcode394
> Line 394: gtk_widget_modify_base(dialog->name_entry_, GTK_STATE_NORMAL,
> &kErrorColor);
> 80
>
> http://codereview.chromium.org/271115/diff/6001/6010#newcode402
> Line 402: gtk_widget_modify_base(dialog->url_entry_, GTK_STATE_NORMAL,
> &kErrorColor);
> 80
>
> http://codereview.chromium.org/271115
>

Powered by Google App Engine
This is Rietveld 408576698