| 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/l10n_util.h" | 9 #include "app/l10n_util.h" |
| 10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 // Closing might delete us, so we'll cache what we need on the stack. | 382 // Closing might delete us, so we'll cache what we need on the stack. |
| 383 Profile* profile = profile_; | 383 Profile* profile = profile_; |
| 384 GtkWindow* toplevel = GTK_WINDOW(gtk_widget_get_toplevel(anchor_)); | 384 GtkWindow* toplevel = GTK_WINDOW(gtk_widget_get_toplevel(anchor_)); |
| 385 | 385 |
| 386 // Close the bubble, deleting the C++ objects, etc. | 386 // Close the bubble, deleting the C++ objects, etc. |
| 387 bubble_->Close(); | 387 bubble_->Close(); |
| 388 | 388 |
| 389 if (node) { | 389 if (node) { |
| 390 BookmarkEditor::Show(toplevel, profile, NULL, | 390 BookmarkEditor::Show(toplevel, profile, NULL, |
| 391 BookmarkEditor::EditDetails(node), | 391 BookmarkEditor::EditDetails(node), |
| 392 BookmarkEditor::SHOW_TREE, NULL); | 392 BookmarkEditor::SHOW_TREE); |
| 393 } | 393 } |
| 394 } | 394 } |
| OLD | NEW |