| Index: chrome/browser/ui/gtk/location_bar_view_gtk.h
|
| diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
|
| index f243c407a878704fb979514e0fbb2fc85c6e477a..fee357dceef901554248ad88a11096de2d178661 100644
|
| --- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
|
| +++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
|
| @@ -16,6 +16,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/memory/weak_ptr.h"
|
| +#include "base/prefs/public/pref_observer.h"
|
| #include "chrome/browser/api/prefs/pref_member.h"
|
| #include "chrome/browser/extensions/extension_action.h"
|
| #include "chrome/browser/extensions/extension_action_icon_factory.h"
|
| @@ -61,7 +62,8 @@ class AcceleratorGtk;
|
| class LocationBarViewGtk : public OmniboxEditController,
|
| public LocationBar,
|
| public LocationBarTesting,
|
| - public content::NotificationObserver {
|
| + public content::NotificationObserver,
|
| + public PrefObserver {
|
| public:
|
| explicit LocationBarViewGtk(Browser* browser);
|
| virtual ~LocationBarViewGtk();
|
| @@ -165,6 +167,10 @@ class LocationBarViewGtk : public OmniboxEditController,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) OVERRIDE;
|
|
|
| + // PrefObserver:
|
| + virtual void OnPreferenceChanged(PrefServiceBase* service,
|
| + const std::string& pref_name) OVERRIDE;
|
| +
|
| // Edit background color.
|
| static const GdkColor kBackgroundColor;
|
|
|
|
|