| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 FontTestHelpers_h | 5 #ifndef FontTestHelpers_h |
| 6 #define FontTestHelpers_h | 6 #define FontTestHelpers_h |
| 7 | 7 |
| 8 #include "wtf/Forward.h" | 8 #include "platform/wtf/Forward.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 class Font; | 12 class Font; |
| 13 | 13 |
| 14 namespace testing { | 14 namespace testing { |
| 15 | 15 |
| 16 // Reads a font from a specified path, for use in unit tests only. | 16 // Reads a font from a specified path, for use in unit tests only. |
| 17 Font createTestFont(const AtomicString& familyName, | 17 Font createTestFont(const AtomicString& familyName, |
| 18 const String& fontPath, | 18 const String& fontPath, |
| 19 float size); | 19 float size); |
| 20 | 20 |
| 21 } // namespace testing | 21 } // namespace testing |
| 22 } // namespace blink | 22 } // namespace blink |
| 23 | 23 |
| 24 #endif // FontTestHelpers_h | 24 #endif // FontTestHelpers_h |
| OLD | NEW |