OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_DOM_UI_FONT_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_DOM_UI_FONT_SETTINGS_HANDLER_H_ |
6 #define CHROME_BROWSER_DOM_UI_FONT_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_DOM_UI_FONT_SETTINGS_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/dom_ui/options_ui.h" | 9 #include "chrome/browser/dom_ui/options_ui.h" |
10 #include "chrome/browser/pref_member.h" | 10 #include "chrome/browser/prefs/pref_member.h" |
11 | 11 |
12 // Font settings overlay page UI handler. | 12 // Font settings overlay page UI handler. |
13 class FontSettingsHandler : public OptionsPageUIHandler { | 13 class FontSettingsHandler : public OptionsPageUIHandler { |
14 public: | 14 public: |
15 FontSettingsHandler(); | 15 FontSettingsHandler(); |
16 virtual ~FontSettingsHandler(); | 16 virtual ~FontSettingsHandler(); |
17 | 17 |
18 // OptionsUIHandler implementation. | 18 // OptionsUIHandler implementation. |
19 virtual void GetLocalizedValues(DictionaryValue* localized_strings); | 19 virtual void GetLocalizedValues(DictionaryValue* localized_strings); |
20 virtual void Initialize(); | 20 virtual void Initialize(); |
(...skipping 15 matching lines...) Expand all Loading... |
36 StringPrefMember sans_serif_font_; | 36 StringPrefMember sans_serif_font_; |
37 StringPrefMember fixed_font_; | 37 StringPrefMember fixed_font_; |
38 IntegerPrefMember default_font_size_; | 38 IntegerPrefMember default_font_size_; |
39 IntegerPrefMember default_fixed_font_size_; | 39 IntegerPrefMember default_fixed_font_size_; |
40 | 40 |
41 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler); | 41 DISALLOW_COPY_AND_ASSIGN(FontSettingsHandler); |
42 }; | 42 }; |
43 | 43 |
44 #endif // CHROME_BROWSER_DOM_UI_FONT_SETTINGS_HANDLER_H_ | 44 #endif // CHROME_BROWSER_DOM_UI_FONT_SETTINGS_HANDLER_H_ |
45 | 45 |
OLD | NEW |