| Index: ppapi/cpp/private/flash_font_file.h
|
| diff --git a/ppapi/cpp/private/flash_font_file.h b/ppapi/cpp/private/flash_font_file.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..034c2fc1c339fb9273e38b24f5d4dc4882547454
|
| --- /dev/null
|
| +++ b/ppapi/cpp/private/flash_font_file.h
|
| @@ -0,0 +1,35 @@
|
| +// 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.
|
| +
|
| +#ifndef PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
|
| +#define PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
|
| +
|
| +#include "ppapi/c/private/pp_private_font_charset.h"
|
| +#include "ppapi/cpp/resource.h"
|
| +
|
| +struct PP_FontDescription_Dev;
|
| +
|
| +namespace pp {
|
| +
|
| +class InstanceHandle;
|
| +
|
| +namespace flash {
|
| +
|
| +class FontFile : public Resource {
|
| + public:
|
| + FontFile(const InstanceHandle& instance,
|
| + const PP_FontDescription_Dev* description,
|
| + PP_PrivateFontCharset charset);
|
| + virtual ~FontFile();
|
| +
|
| + // Returns true if the required interface is available.
|
| + static bool IsAvailable();
|
| +
|
| + bool GetFontTable(uint32_t table, void* output, uint32_t* output_length);
|
| +};
|
| +
|
| +} // namespace flash
|
| +} // namespace pp
|
| +
|
| +#endif // PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
|
|
|