| Index: chrome/browser/tab_contents/tab_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.cc (revision 25076)
|
| +++ chrome/browser/tab_contents/tab_contents.cc (working copy)
|
| @@ -71,6 +71,7 @@
|
|
|
| #if defined(OS_LINUX)
|
| #include "chrome/browser/gtk/create_application_shortcuts_dialog_gtk.h"
|
| +#include "chrome/browser/gtk/gtk_theme_provider.h"
|
| #endif // defined(OS_LINUX)
|
|
|
| // Cross-Site Navigations
|
| @@ -289,6 +290,8 @@
|
| NotificationService::AllSources());
|
| registrar_.Add(this, NotificationType::RENDER_WIDGET_HOST_DESTROYED,
|
| NotificationService::AllSources());
|
| + registrar_.Add(this, NotificationType::BROWSER_THEME_CHANGED,
|
| + NotificationService::AllSources());
|
|
|
| // Keep a global copy of the previous search string (if any).
|
| static string16 global_last_search = string16();
|
| @@ -2467,6 +2470,12 @@
|
| break;
|
| }
|
|
|
| + case NotificationType::BROWSER_THEME_CHANGED: {
|
| +#if defined(OS_LINUX)
|
| + render_view_host()->SyncRendererPrefs();
|
| +#endif
|
| + }
|
| +
|
| default:
|
| NOTREACHED();
|
| }
|
|
|