OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 | 10 |
11 class ListValue; | 11 class ListValue; |
12 class PrefService; | 12 class PrefService; |
13 | 13 |
14 // Chrome advanced options utility methods. | 14 // Chrome advanced options utility methods. |
15 class FontSettingsUtilities { | 15 class FontSettingsUtilities { |
16 public: | 16 public: |
17 static ListValue* GetFontsList(); | |
18 | |
19 static void ValidateSavedFonts(PrefService* prefs); | 17 static void ValidateSavedFonts(PrefService* prefs); |
20 | 18 |
21 private: | 19 private: |
22 DISALLOW_IMPLICIT_CONSTRUCTORS(FontSettingsUtilities); | 20 DISALLOW_IMPLICIT_CONSTRUCTORS(FontSettingsUtilities); |
23 }; | 21 }; |
24 | 22 |
25 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_ | 23 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_ |
OLD | NEW |