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

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

Issue 1278053004: Add new public APIs to find the z-order for links and widgets. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: nits 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 CHK(FORM_DoDocumentOpenAction); 100 CHK(FORM_DoDocumentOpenAction);
100 CHK(FORM_DoDocumentAAction); 101 CHK(FORM_DoDocumentAAction);
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_OnKeyDown); 106 CHK(FORM_OnKeyDown);
106 CHK(FORM_OnKeyUp); 107 CHK(FORM_OnKeyUp);
107 CHK(FORM_OnChar); 108 CHK(FORM_OnChar);
108 CHK(FORM_ForceToKillFocus); 109 CHK(FORM_ForceToKillFocus);
109 CHK(FPDPage_HasFormFieldAtPoint); 110 CHK(FPDFPage_HasFormFieldAtPoint);
111 CHK(FPDPage_HasFormFieldAtPoint); // DEPRECATED. Remove in the future.
112 CHK(FPDFPage_FormFieldZOrderAtPoint);
110 CHK(FPDF_SetFormFieldHighlightColor); 113 CHK(FPDF_SetFormFieldHighlightColor);
111 CHK(FPDF_SetFormFieldHighlightAlpha); 114 CHK(FPDF_SetFormFieldHighlightAlpha);
112 CHK(FPDF_RemoveFormFieldHighlight); 115 CHK(FPDF_RemoveFormFieldHighlight);
113 CHK(FPDF_FFLDraw); 116 CHK(FPDF_FFLDraw);
114 117
115 // fpdf_ppo.h 118 // fpdf_ppo.h
116 CHK(FPDF_ImportPages); 119 CHK(FPDF_ImportPages);
117 CHK(FPDF_CopyViewerPreferences); 120 CHK(FPDF_CopyViewerPreferences);
118 121
119 // fpdf_progressive.h 122 // fpdf_progressive.h
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 CHK(FPDF_VIEWERREF_GetPrintPageRange); 208 CHK(FPDF_VIEWERREF_GetPrintPageRange);
206 CHK(FPDF_VIEWERREF_GetDuplex); 209 CHK(FPDF_VIEWERREF_GetDuplex);
207 CHK(FPDF_CountNamedDests); 210 CHK(FPDF_CountNamedDests);
208 CHK(FPDF_GetNamedDestByName); 211 CHK(FPDF_GetNamedDestByName);
209 CHK(FPDF_GetNamedDest); 212 CHK(FPDF_GetNamedDest);
210 213
211 return 1; 214 return 1;
212 } 215 }
213 216
214 #undef CHK 217 #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