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

Side by Side Diff: ui/base/font_helper_chromeos.h

Issue 889533002: Revert "Enable Roboto by default for testing purpose." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/base/font_helper_chromeos.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_BASE_FONT_HELPER_CHROMEOS_H 5 #ifndef UI_BASE_FONT_HELPER_CHROMEOS_H
6 #define UI_BASE_FONT_HELPER_CHROMEOS_H 6 #define UI_BASE_FONT_HELPER_CHROMEOS_H
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace ui { 10 namespace ui {
11 11
12 // This is a temporary helper function for the Roboto UI font experiment. 12 // This is a temporary helper function for the Roboto UI font experiment.
13 // It'll go away once the experiment is over. 13 // It'll go away once the experiment is over.
14 // See http://crbug.com/434400 and http://crbug.com/448948 for more details. 14 // See http://crbug.com/434400 for more details.
15 // 15 //
16 // "Noto Sans UI" was the primary UI font (both native and web) in most 16 // "Noto Sans UI" is the primary UI font (both native and web) in most
17 // locales and we're replacing it with 'Roboto'. For now 'Roboto' is enabled by 17 // locales and we're replacing it with 'Roboto' when 'enable-roboto-font-ui'
18 // default and can be disabled by setting 'disable-roboto-font-ui' flag to on. 18 // flag is on.
19 void ReplaceNotoSansWithRobotoIfEnabled(std::string* font_family); 19 void ReplaceNotoSansWithRobotoIfEnabled(std::string* font_family);
20 20
21 } // namespace ui 21 } // namespace ui
22 22
23 #endif // UI_BASE_FONT_HELPER_CHROMEOS_H 23 #endif // UI_BASE_FONT_HELPER_CHROMEOS_H
OLDNEW
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/base/font_helper_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698