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

Side by Side Diff: fpdfsdk/src/fpdf_dataavail.cpp

Issue 1439223003: Merge to XFA: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix merge Created 5 years, 1 month 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/formfiller/FFL_TextField.cpp ('k') | fpdfsdk/src/fpdf_ext.cpp » ('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 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 #include "public/fpdf_dataavail.h" 7 #include "public/fpdf_dataavail.h"
8 8
9 #include "../include/fsdk_define.h" 9 #include "../include/fpdfxfa/fpdfxfa_app.h"
10 #include "../include/fpdfxfa/fpdfxfa_doc.h" 10 #include "../include/fpdfxfa/fpdfxfa_doc.h"
11 #include "../include/fpdfxfa/fpdfxfa_app.h" 11 #include "fpdfsdk/include/fsdk_define.h"
12 #include "public/fpdf_formfill.h" 12 #include "public/fpdf_formfill.h"
13 13
14 class CFPDF_FileAvailWrap : public IFX_FileAvail { 14 class CFPDF_FileAvailWrap : public IFX_FileAvail {
15 public: 15 public:
16 CFPDF_FileAvailWrap() { m_pfileAvail = NULL; } 16 CFPDF_FileAvailWrap() { m_pfileAvail = NULL; }
17 ~CFPDF_FileAvailWrap() override {} 17 ~CFPDF_FileAvailWrap() override {}
18 18
19 void Set(FX_FILEAVAIL* pfileAvail) { m_pfileAvail = pfileAvail; } 19 void Set(FX_FILEAVAIL* pfileAvail) { m_pfileAvail = pfileAvail; }
20 20
21 // IFX_FileAvail 21 // IFX_FileAvail
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 return PDF_FORM_ERROR; 138 return PDF_FORM_ERROR;
139 CFPDF_DownloadHintsWrap hints_wrap(hints); 139 CFPDF_DownloadHintsWrap hints_wrap(hints);
140 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsFormAvail(&hints_wrap); 140 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsFormAvail(&hints_wrap);
141 } 141 }
142 142
143 DLLEXPORT int STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail) { 143 DLLEXPORT int STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail) {
144 if (!avail) 144 if (!avail)
145 return PDF_LINEARIZATION_UNKNOWN; 145 return PDF_LINEARIZATION_UNKNOWN;
146 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsLinearizedPDF(); 146 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsLinearizedPDF();
147 } 147 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_TextField.cpp ('k') | fpdfsdk/src/fpdf_ext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698