OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_C_PRIVATE_PPB_PDF_H_ | 5 #ifndef PPAPI_C_PRIVATE_PPB_PDF_H_ |
6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ | 6 #define PPAPI_C_PRIVATE_PPB_PDF_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "ppapi/c/pp_bool.h" | 10 #include "ppapi/c/pp_bool.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 PP_Instance instance, | 150 PP_Instance instance, |
151 struct PP_PrivateAccessibilityDocInfo* doc_info); | 151 struct PP_PrivateAccessibilityDocInfo* doc_info); |
152 | 152 |
153 // Sends information about one page in a PDF document to the renderer for | 153 // Sends information about one page in a PDF document to the renderer for |
154 // accessibility support. | 154 // accessibility support. |
155 void (*SetAccessibilityPageInfo)( | 155 void (*SetAccessibilityPageInfo)( |
156 PP_Instance instance, | 156 PP_Instance instance, |
157 struct PP_PrivateAccessibilityPageInfo* page_info, | 157 struct PP_PrivateAccessibilityPageInfo* page_info, |
158 struct PP_PrivateAccessibilityTextRunInfo text_runs[], | 158 struct PP_PrivateAccessibilityTextRunInfo text_runs[], |
159 struct PP_PrivateAccessibilityCharInfo chars[]); | 159 struct PP_PrivateAccessibilityCharInfo chars[]); |
| 160 |
| 161 // Sends information about the PDF's URL and the embedder's URL. |
| 162 void (*SetCrashData)(PP_Instance instance, |
| 163 const char* pdf_url, |
| 164 const char* top_level_url); |
160 }; | 165 }; |
161 | 166 |
162 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ | 167 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ |
OLD | NEW |