| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/favicon/chrome_fallback_icon_client.h" | |
| 6 | |
| 7 #include "build/build_config.h" | |
| 8 #include "chrome/grit/platform_locale_settings.h" | |
| 9 #include "ui/base/l10n/l10n_util.h" | |
| 10 | |
| 11 ChromeFallbackIconClient::ChromeFallbackIconClient() { | |
| 12 #if defined(OS_CHROMEOS) | |
| 13 font_list_.push_back("Noto Sans"); | |
| 14 #else | |
| 15 font_list_.push_back(l10n_util::GetStringUTF8(IDS_SANS_SERIF_FONT_FAMILY)); | |
| 16 #endif | |
| 17 } | |
| 18 | |
| 19 ChromeFallbackIconClient::~ChromeFallbackIconClient() { | |
| 20 } | |
| 21 | |
| 22 const std::vector<std::string>& ChromeFallbackIconClient::GetFontNameList() | |
| 23 const { | |
| 24 return font_list_; | |
| 25 } | |
| OLD | NEW |