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

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

Issue 1135913002: Create top-level public/ header directory. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Comment fpdfview.h non-rename. Created 5 years, 7 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/include/pdfwindow/PDFWindow.h ('k') | fpdfsdk/src/fpdf_dataavail_embeddertest.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 "../include/fsdk_define.h" 8 #include "../include/fsdk_define.h"
8 #include "../include/fpdf_dataavail.h"
9 9
10 extern void ProcessParseError(FX_DWORD err_code); 10 extern void ProcessParseError(FX_DWORD err_code);
11 class CFPDF_FileAvailWrap : public IFX_FileAvail 11 class CFPDF_FileAvailWrap : public IFX_FileAvail
12 { 12 {
13 public: 13 public:
14 CFPDF_FileAvailWrap() 14 CFPDF_FileAvailWrap()
15 { 15 {
16 m_pfileAvail = NULL; 16 m_pfileAvail = NULL;
17 } 17 }
18 18
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 CFPDF_DownloadHintsWrap hints_wrap(hints); 156 CFPDF_DownloadHintsWrap hints_wrap(hints);
157 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsFormAvail(&hints_wrap) ; 157 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsFormAvail(&hints_wrap) ;
158 } 158 }
159 159
160 DLLEXPORT FPDF_BOOL STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail) 160 DLLEXPORT FPDF_BOOL STDCALL FPDFAvail_IsLinearized(FPDF_AVAIL avail)
161 { 161 {
162 if (avail == NULL) return -1; 162 if (avail == NULL) return -1;
163 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsLinearizedPDF(); 163 return ((CFPDF_DataAvail*)avail)->m_pDataAvail->IsLinearizedPDF();
164 164
165 } 165 }
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PDFWindow.h ('k') | fpdfsdk/src/fpdf_dataavail_embeddertest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698