| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/c/pp_point.h" | 9 #include "ppapi/c/pp_point.h" |
| 10 #include "ppapi/c/pp_var.h" | 10 #include "ppapi/c/pp_var.h" |
| 11 | 11 |
| 12 #define PPP_PDF_INTERFACE "PPP_Pdf;1" | 12 #define PPP_PDF_INTERFACE_1 "PPP_Pdf;1" |
| 13 | 13 |
| 14 struct PPP_Pdf { | 14 struct PPP_Pdf_1 { |
| 15 // Returns an absolute URL if the position is over a link. | 15 // Returns an absolute URL if the position is over a link. |
| 16 PP_Var (*GetLinkAtPosition)(PP_Instance instance, | 16 PP_Var (*GetLinkAtPosition)(PP_Instance instance, |
| 17 PP_Point point); | 17 PP_Point point); |
| 18 }; | 18 }; |
| 19 | 19 |
| 20 typedef PPP_Pdf_1 PPP_Pdf; |
| 21 |
| 20 #endif // WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_ | 22 #endif // WEBKIT_PLUGINS_PPAPI_PPP_PDF_H_ |
| OLD | NEW |