| Index: chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc (revision 91968)
|
| +++ chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc (working copy)
|
| @@ -24,9 +24,9 @@
|
| #include "chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h"
|
| #include "chrome/browser/ui/gtk/tabs/tab_strip_menu_controller.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/common/notification_service.h"
|
| -#include "content/common/notification_type.h"
|
| #include "grit/theme_resources.h"
|
| #include "grit/theme_resources_standard.h"
|
| #include "grit/ui_resources.h"
|
| @@ -707,7 +707,7 @@
|
| added_as_message_loop_observer_(false),
|
| hover_tab_selector_(model) {
|
| theme_service_->InitThemesFor(this);
|
| - registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED,
|
| + registrar_.Add(this, chrome::NOTIFICATION_BROWSER_THEME_CHANGED,
|
| Source<ThemeService>(theme_service_));
|
| }
|
|
|
| @@ -1285,10 +1285,10 @@
|
| ///////////////////////////////////////////////////////////////////////////////
|
| // TabStripGtk, NotificationObserver implementation:
|
|
|
| -void TabStripGtk::Observe(NotificationType type,
|
| +void TabStripGtk::Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - if (type == NotificationType::BROWSER_THEME_CHANGED) {
|
| + if (type == chrome::NOTIFICATION_BROWSER_THEME_CHANGED) {
|
| TabRendererGtk::SetSelectedTitleColor(theme_service_->GetColor(
|
| ThemeService::COLOR_TAB_TEXT));
|
| TabRendererGtk::SetUnselectedTitleColor(theme_service_->GetColor(
|
|
|