Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(407)

Side by Side Diff: ppapi/cpp/private/flash_font_file.h

Issue 10905227: Introduce PPB_Flash_Font. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/c/private/ppb_pdf.h ('k') | ppapi/cpp/private/flash_font_file.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
7
8 #include "ppapi/c/private/pp_private_font_charset.h"
9 #include "ppapi/cpp/resource.h"
10
11 struct PP_FontDescription_Dev;
12
13 namespace pp {
14
15 class InstanceHandle;
16
17 namespace flash {
18
19 class FontFile : public Resource {
20 public:
21 FontFile(const InstanceHandle& instance,
22 const PP_FontDescription_Dev* description,
23 PP_PrivateFontCharset charset);
24 virtual ~FontFile();
25
26 // Returns true if the required interface is available.
27 static bool IsAvailable();
28
29 bool GetFontTable(uint32_t table, void* output, uint32_t* output_length);
30 };
31
32 } // namespace flash
33 } // namespace pp
34
35 #endif // PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
OLDNEW
« no previous file with comments | « ppapi/c/private/ppb_pdf.h ('k') | ppapi/cpp/private/flash_font_file.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698