OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
| 2 // source code is governed by a BSD-style license that can be found in the |
| 3 // LICENSE file. |
| 4 |
| 5 #ifndef CHROME_RENDERER_RENDERER_SANDBOX_SUPPORT_H_ |
| 6 #define CHROME_RENDERER_RENDERER_SANDBOX_SUPPORT_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include <string> |
| 11 |
| 12 namespace renderer_sandbox_support { |
| 13 |
| 14 // Return a font family which provides glyphs for the Unicode code points |
| 15 // specified by |utf16| |
| 16 // utf16: a native-endian UTF16 string |
| 17 // num_utf16: the number of 16-bit words in |utf16| |
| 18 // |
| 19 // Returns: the font family or an empty string if the request could not be |
| 20 // satisfied. |
| 21 std::string getFontFamilyForCharacters(const uint16_t* utf16, size_t num_utf16); |
| 22 |
| 23 }; // namespace render_sandbox_support |
| 24 |
| 25 #endif // CHROME_RENDERER_RENDER_SANDBOX_SUPPORT_H_ |
OLD | NEW |