| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |