| 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_TEST_FONTCONFIG_UTIL_LINUX_H_ | 5 #ifndef UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ |
| 6 #define UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ | 6 #define UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <string> | 10 #include <string> |
| 9 | 11 |
| 10 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 11 | 13 |
| 12 namespace gfx { | 14 namespace gfx { |
| 13 | 15 |
| 14 // Array of paths to font files that are expected to exist on machines where | 16 // Array of paths to font files that are expected to exist on machines where |
| 15 // tests are run. | 17 // tests are run. |
| 16 extern const char* const kSystemFontsForFontconfig[]; | 18 extern const char* const kSystemFontsForFontconfig[]; |
| 17 extern const size_t kNumSystemFontsForFontconfig; | 19 extern const size_t kNumSystemFontsForFontconfig; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 const std::string& type, | 62 const std::string& type, |
| 61 const std::string& value); | 63 const std::string& value); |
| 62 | 64 |
| 63 // Returns a Fontconfig <alias> stanza. | 65 // Returns a Fontconfig <alias> stanza. |
| 64 std::string CreateFontconfigAliasStanza(const std::string& original_family, | 66 std::string CreateFontconfigAliasStanza(const std::string& original_family, |
| 65 const std::string& preferred_family); | 67 const std::string& preferred_family); |
| 66 | 68 |
| 67 } // namespace gfx | 69 } // namespace gfx |
| 68 | 70 |
| 69 #endif // UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ | 71 #endif // UI_GFX_TEST_FONTCONFIG_UTIL_LINUX_H_ |
| OLD | NEW |