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

Side by Side Diff: fpdfsdk/src/fpdfview_c_api_test.c

Issue 1295893005: Merge to XFA: Add new public APIs to find the z-order for links and widgets. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: self review Created 5 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 unified diff | Download patch
« no previous file with comments | « fpdfsdk/src/fpdfformfill.cpp ('k') | public/fpdf_doc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 PDFium Authors. All rights reserved. 1 // Copyright 2015 PDFium 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 // This "C" (not "C++") file ensures that the public headers compile 5 // This "C" (not "C++") file ensures that the public headers compile
6 // and link for "C" (and not just "C++"). 6 // and link for "C" (and not just "C++").
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 #include "fpdfview_c_api_test.h" 10 #include "fpdfview_c_api_test.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 CHK(FPDFBookmark_GetNextSibling); 47 CHK(FPDFBookmark_GetNextSibling);
48 CHK(FPDFBookmark_GetTitle); 48 CHK(FPDFBookmark_GetTitle);
49 CHK(FPDFBookmark_Find); 49 CHK(FPDFBookmark_Find);
50 CHK(FPDFBookmark_GetDest); 50 CHK(FPDFBookmark_GetDest);
51 CHK(FPDFBookmark_GetAction); 51 CHK(FPDFBookmark_GetAction);
52 CHK(FPDFAction_GetType); 52 CHK(FPDFAction_GetType);
53 CHK(FPDFAction_GetDest); 53 CHK(FPDFAction_GetDest);
54 CHK(FPDFAction_GetURIPath); 54 CHK(FPDFAction_GetURIPath);
55 CHK(FPDFDest_GetPageIndex); 55 CHK(FPDFDest_GetPageIndex);
56 CHK(FPDFLink_GetLinkAtPoint); 56 CHK(FPDFLink_GetLinkAtPoint);
57 CHK(FPDFLink_GetLinkZOrderAtPoint);
57 CHK(FPDFLink_GetDest); 58 CHK(FPDFLink_GetDest);
58 CHK(FPDFLink_GetAction); 59 CHK(FPDFLink_GetAction);
59 CHK(FPDFLink_Enumerate); 60 CHK(FPDFLink_Enumerate);
60 CHK(FPDFLink_GetAnnotRect); 61 CHK(FPDFLink_GetAnnotRect);
61 CHK(FPDFLink_CountQuadPoints); 62 CHK(FPDFLink_CountQuadPoints);
62 CHK(FPDFLink_GetQuadPoints); 63 CHK(FPDFLink_GetQuadPoints);
63 CHK(FPDF_GetMetaText); 64 CHK(FPDF_GetMetaText);
64 65
65 // fpdf_edit.h 66 // fpdf_edit.h
66 CHK(FPDF_CreateNewDocument); 67 CHK(FPDF_CreateNewDocument);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 CHK(FORM_DoPageAAction); 102 CHK(FORM_DoPageAAction);
102 CHK(FORM_OnMouseMove); 103 CHK(FORM_OnMouseMove);
103 CHK(FORM_OnLButtonDown); 104 CHK(FORM_OnLButtonDown);
104 CHK(FORM_OnLButtonUp); 105 CHK(FORM_OnLButtonUp);
105 CHK(FORM_OnRButtonDown); 106 CHK(FORM_OnRButtonDown);
106 CHK(FORM_OnRButtonUp); 107 CHK(FORM_OnRButtonUp);
107 CHK(FORM_OnKeyDown); 108 CHK(FORM_OnKeyDown);
108 CHK(FORM_OnKeyUp); 109 CHK(FORM_OnKeyUp);
109 CHK(FORM_OnChar); 110 CHK(FORM_OnChar);
110 CHK(FORM_ForceToKillFocus); 111 CHK(FORM_ForceToKillFocus);
111 CHK(FPDPage_HasFormFieldAtPoint); 112 CHK(FPDFPage_HasFormFieldAtPoint);
113 CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future.
114 CHK(FPDFPage_FormFieldZOrderAtPoint);
112 CHK(FPDF_SetFormFieldHighlightColor); 115 CHK(FPDF_SetFormFieldHighlightColor);
113 CHK(FPDF_SetFormFieldHighlightAlpha); 116 CHK(FPDF_SetFormFieldHighlightAlpha);
114 CHK(FPDF_RemoveFormFieldHighlight); 117 CHK(FPDF_RemoveFormFieldHighlight);
115 CHK(FPDF_FFLDraw); 118 CHK(FPDF_FFLDraw);
116 CHK(FPDF_HasXFAField); 119 CHK(FPDF_HasXFAField);
117 CHK(FPDF_LoadXFA); 120 CHK(FPDF_LoadXFA);
118 CHK(FPDF_Widget_Undo); 121 CHK(FPDF_Widget_Undo);
119 CHK(FPDF_Widget_Redo); 122 CHK(FPDF_Widget_Redo);
120 CHK(FPDF_Widget_SelectAll); 123 CHK(FPDF_Widget_SelectAll);
121 CHK(FPDF_Widget_Copy); 124 CHK(FPDF_Widget_Copy);
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 CHK(FPDF_GetNamedDestByName); 226 CHK(FPDF_GetNamedDestByName);
224 CHK(FPDF_GetNamedDest); 227 CHK(FPDF_GetNamedDest);
225 CHK(FPDF_BStr_Init); 228 CHK(FPDF_BStr_Init);
226 CHK(FPDF_BStr_Set); 229 CHK(FPDF_BStr_Set);
227 CHK(FPDF_BStr_Clear); 230 CHK(FPDF_BStr_Clear);
228 231
229 return 1; 232 return 1;
230 } 233 }
231 234
232 #undef CHK 235 #undef CHK
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdfformfill.cpp ('k') | public/fpdf_doc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698