summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/bookmark_manager_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/gtk/bookmark_manager_gtk.h')
-rw-r--r--chrome/browser/gtk/bookmark_manager_gtk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/gtk/bookmark_manager_gtk.h b/chrome/browser/gtk/bookmark_manager_gtk.h
index d61613e..bf68d1e 100644
--- a/chrome/browser/gtk/bookmark_manager_gtk.h
+++ b/chrome/browser/gtk/bookmark_manager_gtk.h
@@ -16,6 +16,7 @@
#include "chrome/browser/gtk/bookmark_context_menu.h"
#include "chrome/browser/shell_dialogs.h"
#include "chrome/common/gtk_tree.h"
+#include "testing/gtest/include/gtest/gtest_prod.h"
class BookmarkModel;
class BookmarkTableModel;
@@ -68,12 +69,17 @@ class BookmarkManagerGtk : public BookmarkModelObserver,
int index, void* params);
private:
+ FRIEND_TEST(BookmarkManagerTest, Crash);
+
explicit BookmarkManagerGtk(Profile* profile);
void InitWidgets();
GtkWidget* MakeLeftPane();
GtkWidget* MakeRightPane();
+ // Get the currently showing bookmark manager. Only used in testing.
+ static BookmarkManagerGtk* GetCurrentManager();
+
// Set |window_|'s initial size, using its previous size if that was saved.
void SetInitialWindowSize();