| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ |
| 6 #define CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "app/gtk_signal.h" | |
| 10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 11 #include "chrome/common/notification_observer.h" | 10 #include "chrome/common/notification_observer.h" |
| 12 #include "chrome/common/notification_registrar.h" | 11 #include "chrome/common/notification_registrar.h" |
| 12 #include "ui/base/gtk/gtk_signal.h" |
| 13 | 13 |
| 14 typedef struct _GtkWidget GtkWidget; | 14 typedef struct _GtkWidget GtkWidget; |
| 15 class GtkThemeProvider; | 15 class GtkThemeProvider; |
| 16 class Profile; | 16 class Profile; |
| 17 | 17 |
| 18 class BookmarkBarInstructionsGtk : public NotificationObserver { | 18 class BookmarkBarInstructionsGtk : public NotificationObserver { |
| 19 public: | 19 public: |
| 20 // The delegate is notified once the user clicks on the link to import | 20 // The delegate is notified once the user clicks on the link to import |
| 21 // bookmarks. | 21 // bookmarks. |
| 22 class Delegate { | 22 class Delegate { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 53 GtkWidget* instructions_hbox_; | 53 GtkWidget* instructions_hbox_; |
| 54 GtkWidget* instructions_label_; | 54 GtkWidget* instructions_label_; |
| 55 GtkWidget* instructions_link_; | 55 GtkWidget* instructions_link_; |
| 56 | 56 |
| 57 NotificationRegistrar registrar_; | 57 NotificationRegistrar registrar_; |
| 58 | 58 |
| 59 DISALLOW_COPY_AND_ASSIGN(BookmarkBarInstructionsGtk); | 59 DISALLOW_COPY_AND_ASSIGN(BookmarkBarInstructionsGtk); |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ | 62 #endif // CHROME_BROWSER_UI_GTK_BOOKMARK_BAR_INSTRUCTIONS_GTK_H_ |
| OLD | NEW |