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

Unified Diff: ppapi/proxy/serialized_structs.h

Issue 1428653002: PPAPI: Remove PPB_Font_Dev. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/serialized_structs.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_structs.h
diff --git a/ppapi/proxy/serialized_structs.h b/ppapi/proxy/serialized_structs.h
index efefadebefe40b05fc3b1c66e7ac5fb833702d82..ac890f88c26895cdc5be19a28bb91253ade72a10 100644
--- a/ppapi/proxy/serialized_structs.h
+++ b/ppapi/proxy/serialized_structs.h
@@ -21,30 +21,20 @@
#include "ppapi/proxy/ppapi_proxy_export.h"
#include "ppapi/shared_impl/host_resource.h"
-struct PP_FontDescription_Dev;
struct PP_BrowserFont_Trusted_Description;
namespace ppapi {
namespace proxy {
-// PP_FontDescription_Dev/PP_BrowserFontDescription (same definition, different
-// names) has to be redefined with a string in place of the PP_Var used for the
-// face name.
+// PP_BrowserFontDescription has to be redefined with a string in place of the
+// PP_Var used for the face name.
struct PPAPI_PROXY_EXPORT SerializedFontDescription {
SerializedFontDescription();
~SerializedFontDescription();
- // Converts a PP_FontDescription_Dev to a SerializedFontDescription.
- //
- // The reference of |face| owned by the PP_FontDescription_Dev will be
- // unchanged and the caller is responsible for freeing it.
- void SetFromPPFontDescription(const PP_FontDescription_Dev& desc);
void SetFromPPBrowserFontDescription(
const PP_BrowserFont_Trusted_Description& desc);
- // Converts to a PP_FontDescription_Dev. The face name will have one ref
- // assigned to it. The caller is responsible for freeing it.
- void SetToPPFontDescription(PP_FontDescription_Dev* desc) const;
void SetToPPBrowserFontDescription(
PP_BrowserFont_Trusted_Description* desc) const;
@@ -81,7 +71,7 @@ struct PPAPI_PROXY_EXPORT SerializedTrueTypeFontDesc {
// caller is responsible for releasing it.
void SetFromPPTrueTypeFontDesc(const PP_TrueTypeFontDesc_Dev& desc);
- // Converts this to a PP_FontDescription_Dev.
+ // Converts this to a PP_TrueTypeFontDesc_Dev.
//
// The desc.family PP_Var will have one reference assigned to it. The caller
// is responsible for releasing it.
« no previous file with comments | « ppapi/proxy/interface_list.cc ('k') | ppapi/proxy/serialized_structs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698