Index: chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc |
=================================================================== |
--- chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc (revision 91968) |
+++ chrome/browser/ui/gtk/bookmarks/bookmark_bar_instructions_gtk.cc (working copy) |
@@ -9,6 +9,7 @@ |
#include "chrome/browser/ui/gtk/gtk_chrome_shrinkable_hbox.h" |
#include "chrome/browser/ui/gtk/gtk_theme_service.h" |
#include "chrome/browser/ui/gtk/gtk_util.h" |
+#include "chrome/common/chrome_notification_types.h" |
#include "content/common/notification_service.h" |
#include "grit/generated_resources.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -47,15 +48,15 @@ |
G_CALLBACK(gtk_util::InitLabelSizeRequestAndEllipsizeMode), |
NULL); |
- registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED, |
+ registrar_.Add(this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED, |
Source<ThemeService>(theme_service_)); |
theme_service_->InitThemesFor(this); |
} |
-void BookmarkBarInstructionsGtk::Observe(NotificationType type, |
+void BookmarkBarInstructionsGtk::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |
- if (type == NotificationType::BROWSER_THEME_CHANGED) |
+ if (type == chrome::NOTIFICATION_BROWSER_THEME_CHANGED) |
UpdateColors(); |
} |