Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Unified Diff: chrome/browser/ui/webui/options/font_settings_utils.h

Issue 2441343003: Allow the default generic font family settings to find the first available font (Closed)
Patch Set: Add more tests Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/options/font_settings_utils.h
diff --git a/chrome/browser/ui/webui/options/font_settings_utils.h b/chrome/browser/ui/webui/options/font_settings_utils.h
index b800f25cfd1bd03d1b6b6bc6bafd60e5fd94b716..db51543b06d218f1cab2ab4bddf47c6812201dde 100644
--- a/chrome/browser/ui/webui/options/font_settings_utils.h
+++ b/chrome/browser/ui/webui/options/font_settings_utils.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_FONT_SETTINGS_UTILS_H_
+#include <string>
+
#include "base/macros.h"
class PrefService;
@@ -16,6 +18,9 @@ class FontSettingsUtilities {
public:
static void ValidateSavedFonts(PrefService* prefs);
+ static std::string ResolveFontList(const std::string&);
+ static std::string MaybeGetLocalizedFontName(const std::string&);
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(FontSettingsUtilities);
};

Powered by Google App Engine
This is Rietveld 408576698