Chromium Code Reviews| Index: ppapi/api/private/ppb_flash_font.idl |
| diff --git a/ppapi/api/private/ppb_flash_font.idl b/ppapi/api/private/ppb_flash_font.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..628dfbf98dc2899c104d5a6e97978efd46c2dc7c |
| --- /dev/null |
| +++ b/ppapi/api/private/ppb_flash_font.idl |
| @@ -0,0 +1,33 @@ |
| +/* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| + * Use of this source code is governed by a BSD-style license that can be |
| + * found in the LICENSE file. |
| + */ |
| + |
| +/** |
| + * This file contains the <code>PPB_Flash_Font</code> interface. |
| + */ |
| + |
| +label Chrome { |
| + M23 = 0.1 |
| +}; |
| + |
| +interface PPB_Flash_Font { |
|
brettw
2012/09/13 23:10:41
Can you call this PPB_Flash_FontFile?
yzshen1
2012/10/08 18:38:00
Done.
|
| + /* Returns a resource identifying a font file corresponding to the given font |
| + * request after applying the browser-specific fallback. |
| + * |
| + * Currently Linux-only. |
| + */ |
| + PP_Resource GetFontFileWithFallback( |
|
brettw
2012/09/13 23:10:41
Can you just call this "Create"?
yzshen1
2012/10/08 18:38:00
Done.
|
| + [in] PP_Instance instance, |
| + [in] PP_FontDescription_Dev description, |
| + [in] PP_PrivateFontCharset charset); |
| + |
| + /* Given a resource previously returned by GetFontFileWithFallback, returns |
| + * a pointer to the requested font table. Linux only. |
| + */ |
| + PP_Bool GetFontTableForPrivateFontFile( |
|
brettw
2012/09/13 23:10:41
Can you call this GetFontTable?
yzshen1
2012/10/08 18:38:00
Done.
|
| + [in] PP_Resource font_file, |
| + [in] uint32_t table, |
| + [out] mem_t output, |
| + [out] uint32_t output_length); |
| +}; |