| Index: chrome/browser/ui/gtk/browser_titlebar.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/browser_titlebar.cc (revision 91771)
|
| +++ chrome/browser/ui/gtk/browser_titlebar.cc (working copy)
|
| @@ -402,7 +402,7 @@
|
| // color.
|
| theme_service_ = GtkThemeService::GetFrom(
|
| browser_window_->browser()->profile());
|
| - registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED,
|
| + registrar_.Add(this, chrome::BROWSER_THEME_CHANGED,
|
| Source<ThemeService>(theme_service_));
|
| theme_service_->InitThemesFor(this);
|
| UpdateTitleAndIcon();
|
| @@ -945,11 +945,11 @@
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| switch (type.value) {
|
| - case NotificationType::BROWSER_THEME_CHANGED:
|
| + case chrome::BROWSER_THEME_CHANGED:
|
| UpdateTextColor();
|
| break;
|
|
|
| - case NotificationType::PREF_CHANGED: {
|
| + case chrome::PREF_CHANGED: {
|
| std::string* name = Details<std::string>(details).ptr();
|
| if (prefs::kGoogleServicesUsername == *name)
|
| profile_button_->UpdateText(browser_window_->browser()->profile());
|
|
|