| Index: chrome/browser/ui/webui/options/font_settings_handler.h
|
| diff --git a/chrome/browser/ui/webui/options/font_settings_handler.h b/chrome/browser/ui/webui/options/font_settings_handler.h
|
| index 1c6af163205aaec59f704977fa516a72ebef83cc..07c7fdc6c726de78c23d6d07217d434da5b079a7 100644
|
| --- a/chrome/browser/ui/webui/options/font_settings_handler.h
|
| +++ b/chrome/browser/ui/webui/options/font_settings_handler.h
|
| @@ -6,7 +6,6 @@
|
| #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| -#include "base/prefs/public/pref_observer.h"
|
| #include "chrome/browser/api/prefs/pref_member.h"
|
| #include "chrome/browser/ui/webui/options/options_ui.h"
|
|
|
| @@ -17,8 +16,7 @@ class ListValue;
|
| namespace options {
|
|
|
| // Font settings overlay page UI handler.
|
| -class FontSettingsHandler : public OptionsPageUIHandler,
|
| - public PrefObserver {
|
| +class FontSettingsHandler : public OptionsPageUIHandler {
|
| public:
|
| FontSettingsHandler();
|
| virtual ~FontSettingsHandler();
|
| @@ -30,10 +28,6 @@ class FontSettingsHandler : public OptionsPageUIHandler,
|
| // WebUIMessageHandler implementation.
|
| virtual void RegisterMessages() OVERRIDE;
|
|
|
| - // PrefObserver implementation.
|
| - virtual void OnPreferenceChanged(PrefServiceBase* service,
|
| - const std::string& pref_name) OVERRIDE;
|
| -
|
| private:
|
| void HandleFetchFontsData(const ListValue* args);
|
|
|
| @@ -44,6 +38,7 @@ class FontSettingsHandler : public OptionsPageUIHandler,
|
| void SetUpSansSerifFontSample();
|
| void SetUpFixedFontSample();
|
| void SetUpMinimumFontSample();
|
| + void OnWebKitDefaultFontSizeChanged();
|
|
|
| StringPrefMember standard_font_;
|
| StringPrefMember serif_font_;
|
|
|