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

Unified Diff: chrome/browser/ui/webui/options/font_settings_utils_win.cc

Issue 2927273002: Move code for old, deprecated Options UI to only ChromeOS (Closed)
Patch Set: check_gn_headers Created 3 years, 6 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_win.cc
diff --git a/chrome/browser/ui/webui/options/font_settings_utils_win.cc b/chrome/browser/ui/webui/options/font_settings_utils_win.cc
deleted file mode 100644
index aa3dd7941eefdd68e62e99dbb1bcff5350c377b4..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/options/font_settings_utils_win.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/webui/options/font_settings_utils.h"
-
-#include "ui/gfx/font.h"
-#include "ui/gfx/platform_font_win.h"
-
-namespace options {
-
-// static
-void FontSettingsUtilities::ValidateSavedFonts(PrefService* prefs) {
- // Nothing to do for Windows.
-}
-
-std::string FontSettingsUtilities::MaybeGetLocalizedFontName(
- const std::string& font_name_or_list) {
- std::string font_name = ResolveFontList(font_name_or_list);
- if (font_name.empty())
- return font_name;
- gfx::Font font(font_name, 12); // dummy font size
- return static_cast<gfx::PlatformFontWin*>(font.platform_font())
- ->GetLocalizedFontName();
-}
-
-} // namespace options

Powered by Google App Engine
This is Rietveld 408576698