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

Side by Side Diff: chrome/browser/gtk/bookmark_bubble_gtk.cc

Issue 271115: Makes canceling 'bookmark all tabs' delete the folder. Or rather,... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/gtk/bookmark_bubble_gtk.h" 5 #include "chrome/browser/gtk/bookmark_bubble_gtk.h"
6 6
7 #include <gtk/gtk.h> 7 #include <gtk/gtk.h>
8 8
9 #include "app/gfx/gtk_util.h" 9 #include "app/gfx/gtk_util.h"
10 #include "app/l10n_util.h" 10 #include "app/l10n_util.h"
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 ApplyEdits(); 362 ApplyEdits();
363 363
364 // Closing might delete us, so we'll cache what we want we need on the stack. 364 // Closing might delete us, so we'll cache what we want we need on the stack.
365 Profile* profile = profile_; 365 Profile* profile = profile_;
366 GtkWindow* toplevel = toplevel_window_; 366 GtkWindow* toplevel = toplevel_window_;
367 367
368 // Close the bubble, deleting the C++ objects, etc. 368 // Close the bubble, deleting the C++ objects, etc.
369 bubble_->Close(); 369 bubble_->Close();
370 370
371 if (node) { 371 if (node) {
372 BookmarkEditor::Show(toplevel, profile, NULL, node, 372 BookmarkEditor::Show(toplevel, profile, NULL,
373 BookmarkEditor::EditDetails(node),
373 BookmarkEditor::SHOW_TREE, NULL); 374 BookmarkEditor::SHOW_TREE, NULL);
374 } 375 }
375 } 376 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698