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

Unified Diff: webkit/plugins/ppapi/ppp_pdf.h

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase une autre fois. Created 9 years 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
Index: webkit/plugins/ppapi/ppp_pdf.h
diff --git a/webkit/plugins/ppapi/ppp_pdf.h b/webkit/plugins/ppapi/ppp_pdf.h
index 64052252010344833103ac3a026d731b0f215769..d19d254ae1efba6151c97a9691e62d4bd1c166f0 100644
--- a/webkit/plugins/ppapi/ppp_pdf.h
+++ b/webkit/plugins/ppapi/ppp_pdf.h
@@ -9,12 +9,14 @@
#include "ppapi/c/pp_point.h"
#include "ppapi/c/pp_var.h"
-#define PPP_PDF_INTERFACE "PPP_Pdf;1"
+#define PPP_PDF_INTERFACE_1 "PPP_Pdf;1"
-struct PPP_Pdf {
+struct PPP_Pdf_1 {
// Returns an absolute URL if the position is over a link.
PP_Var (*GetLinkAtPosition)(PP_Instance instance,
PP_Point point);
};
+typedef PPP_Pdf_1 PPP_Pdf;
+
#endif // WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_

Powered by Google App Engine
This is Rietveld 408576698