OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef UI_BASE_FONT_HELPER_CHROMEOS_H | |
6 #define UI_BASE_FONT_HELPER_CHROMEOS_H | |
7 | |
8 #include <string> | |
9 | |
10 namespace ui { | |
11 | |
12 // This is a temporary helper function for the Roboto UI font experiment. | |
13 // It'll go away once the experiment is over. | |
14 // See http://crbug.com/434400 and http://crbug.com/448948 for more details. | |
15 // | |
16 // "Noto Sans UI" was 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 | |
18 // default and can be disabled by setting 'disable-roboto-font-ui' flag to on. | |
19 void ReplaceNotoSansWithRobotoIfEnabled(std::string* font_family); | |
20 | |
21 } // namespace ui | |
22 | |
23 #endif // UI_BASE_FONT_HELPER_CHROMEOS_H | |
OLD | NEW |