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

Side by Side Diff: chrome/browser/favicon/chrome_fallback_icon_client.cc

Issue 2883053003: Delete unused chrome://fallback-icon/ handling (Closed)
Patch Set: Merge branch 'master' into searchbox3 Created 3 years, 7 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 unified diff | Download patch
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/favicon/chrome_fallback_icon_client.h ('k') | chrome/browser/favicon/chrome_fallback_icon_client_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698