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

Unified Diff: webkit/glue/plugins/ppb_private.h

Issue 3255003: Pull new PPAPI, rename non-P0 interfaces to Dev, rename DeviceContext2D to Gr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/plugins/pepper_widget.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/ppb_private.h
===================================================================
--- webkit/glue/plugins/ppb_private.h (revision 57791)
+++ webkit/glue/plugins/ppb_private.h (working copy)
@@ -10,22 +10,22 @@
#define PPB_PRIVATE_INTERFACE "PPB_Private;1"
-typedef enum _pp_ResourceString {
+typedef enum {
PP_RESOURCESTRING_PDFGETPASSWORD = 0,
} PP_ResourceString;
-typedef enum _pp_PrivateFontPitch {
+typedef enum {
PP_PRIVATEFONTPITCH_DEFAULT = 0,
PP_PRIVATEFONTPITCH_FIXED = 1
} PP_PrivateFontPitch;
-typedef enum _pp_PrivateFontFamily {
+typedef enum {
PP_PRIVATEFONTFAMILY_DEFAULT = 0,
PP_PRIVATEFONTFAMILY_ROMAN = 1,
PP_PRIVATEFONTFAMILY_SCRIPT = 2
} PP_PrivateFontFamily;
-typedef enum _pp_PrivateFontCharset {
+typedef enum {
PP_PRIVATEFONTCHARSET_ANSI = 0,
PP_PRIVATEFONTCHARSET_DEFAULT = 1,
PP_PRIVATEFONTCHARSET_SYMBOL = 2,
@@ -47,16 +47,16 @@
PP_PRIVATEFONTCHARSET_OEM = 255
} PP_PrivateFontCharset;
-typedef struct _pp_PrivateFontFileDescription {
+struct PP_PrivateFontFileDescription {
const char* face;
uint32_t weight;
bool italic;
PP_PrivateFontPitch pitch;
PP_PrivateFontFamily family;
PP_PrivateFontCharset charset;
-} PP_PrivateFontFileDescription;
+};
-typedef struct _ppb_Private {
+struct PPB_Private {
// Returns a localized string.
PP_Var (*GetLocalizedString)(PP_ResourceString string_id);
@@ -72,6 +72,6 @@
uint32_t table,
void* output,
uint32_t* output_length);
-} PPB_Private;
+};
#endif // WEBKIT_GLUE_PLUGINS_PPB_PRIVATE_H_
« no previous file with comments | « webkit/glue/plugins/pepper_widget.cc ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698