| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 void NotifyAdvancedFontSettingsAvailability(); | 67 void NotifyAdvancedFontSettingsAvailability(); |
| 68 // Opens the options page of the Advanced Font Settings Extension. | 68 // Opens the options page of the Advanced Font Settings Extension. |
| 69 void HandleOpenAdvancedFontSettingsOptions(const base::ListValue* args); | 69 void HandleOpenAdvancedFontSettingsOptions(const base::ListValue* args); |
| 70 | 70 |
| 71 void OnWebKitDefaultFontSizeChanged(); | 71 void OnWebKitDefaultFontSizeChanged(); |
| 72 | 72 |
| 73 StringPrefMember standard_font_; | 73 StringPrefMember standard_font_; |
| 74 StringPrefMember serif_font_; | 74 StringPrefMember serif_font_; |
| 75 StringPrefMember sans_serif_font_; | 75 StringPrefMember sans_serif_font_; |
| 76 StringPrefMember fixed_font_; | 76 StringPrefMember fixed_font_; |
| 77 StringPrefMember font_encoding_; | |
| 78 IntegerPrefMember default_font_size_; | 77 IntegerPrefMember default_font_size_; |
| 79 IntegerPrefMember default_fixed_font_size_; | 78 IntegerPrefMember default_fixed_font_size_; |
| 80 IntegerPrefMember minimum_font_size_; | 79 IntegerPrefMember minimum_font_size_; |
| 81 | 80 |
| 82 ScopedObserver<extensions::ExtensionRegistry, | 81 ScopedObserver<extensions::ExtensionRegistry, |
| 83 extensions::ExtensionRegistryObserver> | 82 extensions::ExtensionRegistryObserver> |
| 84 extension_registry_observer_; | 83 extension_registry_observer_; |
| 85 | 84 |
| 86 base::WeakPtrFactory<FontSettingsHandler> weak_ptr_factory_; | 85 base::WeakPtrFactory<FontSettingsHandler> weak_ptr_factory_; |
| 87 | 86 |
| 88 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler); | 87 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler); |
| 89 }; | 88 }; |
| 90 | 89 |
| 91 } // namespace options | 90 } // namespace options |
| 92 | 91 |
| 93 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ | 92 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_HANDLER_H_ |
| OLD | NEW |