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

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

Issue 1416643002: Enable pp::flash::FontFile support on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Based generated thunk files Created 5 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_ 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_ 6 #define PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
7 7
8 #include "ppapi/c/private/pp_private_font_charset.h" 8 #include "ppapi/c/private/pp_private_font_charset.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 10
(...skipping 10 matching lines...) Expand all
21 // Default constructor for making an is_null() FontFile resource. 21 // Default constructor for making an is_null() FontFile resource.
22 FontFile(); 22 FontFile();
23 FontFile(const InstanceHandle& instance, 23 FontFile(const InstanceHandle& instance,
24 const PP_BrowserFont_Trusted_Description* description, 24 const PP_BrowserFont_Trusted_Description* description,
25 PP_PrivateFontCharset charset); 25 PP_PrivateFontCharset charset);
26 virtual ~FontFile(); 26 virtual ~FontFile();
27 27
28 // Returns true if the required interface is available. 28 // Returns true if the required interface is available.
29 static bool IsAvailable(); 29 static bool IsAvailable();
30 30
31 // Returns true if this interface is supported for Windows.
32 bool IsSupportedForWindows();
33
31 bool GetFontTable(uint32_t table, void* output, uint32_t* output_length); 34 bool GetFontTable(uint32_t table, void* output, uint32_t* output_length);
32 }; 35 };
33 36
34 } // namespace flash 37 } // namespace flash
35 } // namespace pp 38 } // namespace pp
36 39
37 #endif // PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_ 40 #endif // PPAPI_CPP_PRIVATE_FLASH_FONT_FILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698