OLD | NEW |
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_GFX_FONT_FALLBACK_H_ | 5 #ifndef UI_GFX_FONT_FALLBACK_H_ |
6 #define UI_GFX_FONT_FALLBACK_H_ | 6 #define UI_GFX_FONT_FALLBACK_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "ui/gfx/gfx_export.h" |
| 12 |
11 namespace gfx { | 13 namespace gfx { |
12 | 14 |
13 // Given a font family name, returns the names of font families that are | 15 // Given a font family name, returns the names of font families that are |
14 // suitable for fallback. | 16 // suitable for fallback. |
15 std::vector<std::string> GetFallbackFontFamilies( | 17 GFX_EXPORT std::vector<std::string> GetFallbackFontFamilies( |
16 const std::string& font_family); | 18 const std::string& font_family); |
17 | 19 |
18 } // namespace gfx | 20 } // namespace gfx |
19 | 21 |
20 #endif // UI_GFX_FONT_FALLBACK_H_ | 22 #endif // UI_GFX_FONT_FALLBACK_H_ |
OLD | NEW |