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

Side by Side Diff: public/fpdf_formfill.h

Issue 2258333002: Fix page leaks in an embedder test (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 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
« fpdfsdk/fsdk_mgr.cpp ('K') | « fpdfsdk/fsdk_mgr.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef PUBLIC_FPDF_FORMFILL_H_ 7 #ifndef PUBLIC_FPDF_FORMFILL_H_
8 #define PUBLIC_FPDF_FORMFILL_H_ 8 #define PUBLIC_FPDF_FORMFILL_H_
9 9
10 #include "fpdfview.h" 10 #include "fpdfview.h"
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 * document - Handle to document. Returned by FPDF_LoadDocument 568 * document - Handle to document. Returned by FPDF_LoadDocument
569 * function. 569 * function.
570 * nPageIndex - Index number of the page. 0 for the first page. 570 * nPageIndex - Index number of the page. 0 for the first page.
571 * Return value: 571 * Return value:
572 * Handle to the page. Returned by FPDF_LoadPage function. 572 * Handle to the page. Returned by FPDF_LoadPage function.
573 * Comments: 573 * Comments:
574 * In some cases, the document-level JavaScript action may refer to a 574 * In some cases, the document-level JavaScript action may refer to a
575 * page which hadn't been loaded yet. 575 * page which hadn't been loaded yet.
576 * To successfully run the javascript action, implementation need to load 576 * To successfully run the javascript action, implementation need to load
577 * the page for SDK. 577 * the page for SDK.
578 * If getting a CPDFXFA_Page from this function, needs to call release()
579 * on that page when finished.
578 * */ 580 * */
579 FPDF_PAGE (*FFI_GetPage)(struct _FPDF_FORMFILLINFO* pThis, 581 FPDF_PAGE (*FFI_GetPage)(struct _FPDF_FORMFILLINFO* pThis,
580 FPDF_DOCUMENT document, 582 FPDF_DOCUMENT document,
581 int nPageIndex); 583 int nPageIndex);
582 584
583 /** 585 /**
584 * Method: FFI_GetCurrentPage 586 * Method: FFI_GetCurrentPage
585 * This method receives the current page pointer. 587 * This method receives the current page pointer.
586 * Interface Version: 588 * Interface Version:
587 * 1 589 * 1
(...skipping 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1751 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle, 1753 FPDF_StringHandleAddString(FPDF_STRINGHANDLE stringHandle,
1752 FPDF_BYTESTRING bsText, 1754 FPDF_BYTESTRING bsText,
1753 FPDF_DWORD size); 1755 FPDF_DWORD size);
1754 #endif // PDF_ENABLE_XFA 1756 #endif // PDF_ENABLE_XFA
1755 1757
1756 #ifdef __cplusplus 1758 #ifdef __cplusplus
1757 } 1759 }
1758 #endif 1760 #endif
1759 1761
1760 #endif // PUBLIC_FPDF_FORMFILL_H_ 1762 #endif // PUBLIC_FPDF_FORMFILL_H_
OLDNEW
« fpdfsdk/fsdk_mgr.cpp ('K') | « fpdfsdk/fsdk_mgr.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698