Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h |
diff --git a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h |
index 42dc39cfb14ccaa34fd389d3c40821e9a5e296f1..a4205255e73066fcaf182e481578c7aa89e9a1e4 100644 |
--- a/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h |
+++ b/chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.h |
@@ -15,19 +15,14 @@ typedef struct _GtkWidget GtkWidget; |
class GtkThemeService; |
class Profile; |
+namespace chrome { |
+class BookmarkBarInstructionsDelegate; |
+} |
+ |
class BookmarkBarInstructionsGtk : public content::NotificationObserver { |
public: |
- // The delegate is notified once the user clicks on the link to import |
- // bookmarks. |
- class Delegate { |
- public: |
- virtual void ShowImportDialog() = 0; |
- |
- protected: |
- virtual ~Delegate() {} |
- }; |
- |
- BookmarkBarInstructionsGtk(Delegate* delegate, Profile* profile); |
+ BookmarkBarInstructionsGtk(chrome::BookmarkBarInstructionsDelegate* delegate, |
+ Profile* profile); |
// Get the native widget. |
GtkWidget* widget() const { return instructions_hbox_; } |
@@ -43,7 +38,7 @@ class BookmarkBarInstructionsGtk : public content::NotificationObserver { |
// Sets the correct color for |instructions_label_| and |instructions_link_|. |
void UpdateColors(); |
- Delegate* delegate_; |
+ chrome::BookmarkBarInstructionsDelegate* delegate_; |
Profile* profile_; |