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

Side by Side Diff: ppapi/c/private/ppb_pdf.h

Issue 2299943002: Record the PDF and top level URL when the PDF plugin crashes. (Closed)
Patch Set: Created 4 years, 3 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 unified diff | Download patch
OLDNEW
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
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* embedder_url);
raymes 2016/09/05 04:11:47 nit: top_level_url
Lei Zhang 2016/09/07 00:12:39 Done.
160 }; 165 };
161 166
162 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_ 167 #endif // PPAPI_C_PRIVATE_PPB_PDF_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698