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

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

Issue 1171733003: Remove typdefs for pointer types in fx_system.h (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual fixes. Created 5 years, 6 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/fpdf_dataavail.cpp ('k') | fpdfsdk/src/fpdf_flatten.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_ext.h" 7 #include "../../public/fpdf_ext.h"
8 #include "../include/fsdk_define.h" 8 #include "../include/fsdk_define.h"
9 9
10 #define FPDFSDK_UNSUPPORT_CALL 100 10 #define FPDFSDK_UNSUPPORT_CALL 100
(...skipping 10 matching lines...) Expand all
21 }; 21 };
22 22
23 void CFSDK_UnsupportInfo_Adapter::ReportError(int nErrorType) 23 void CFSDK_UnsupportInfo_Adapter::ReportError(int nErrorType)
24 { 24 {
25 if(m_unsp_info && m_unsp_info->FSDK_UnSupport_Handler) 25 if(m_unsp_info && m_unsp_info->FSDK_UnSupport_Handler)
26 { 26 {
27 m_unsp_info->FSDK_UnSupport_Handler(m_unsp_info,nErrorType); 27 m_unsp_info->FSDK_UnSupport_Handler(m_unsp_info,nErrorType);
28 } 28 }
29 } 29 }
30 30
31 void FreeUnsupportInfo(FX_LPVOID pData) 31 void FreeUnsupportInfo(void* pData)
32 { 32 {
33 CFSDK_UnsupportInfo_Adapter * pAdapter = (CFSDK_UnsupportInfo_Adapter *) pData; 33 CFSDK_UnsupportInfo_Adapter * pAdapter = (CFSDK_UnsupportInfo_Adapter *) pData;
34 delete pAdapter; 34 delete pAdapter;
35 } 35 }
36 36
37 FX_BOOL FPDF_UnSupportError(int nError) 37 FX_BOOL FPDF_UnSupportError(int nError)
38 { 38 {
39 CFSDK_UnsupportInfo_Adapter * pAdapter = (CFSDK_UnsupportInfo_Adapter *) CPDF_ModuleMgr::Get()->GetPrivateData((void *)FPDFSDK_UNSUPPORT_CALL); 39 CFSDK_UnsupportInfo_Adapter * pAdapter = (CFSDK_UnsupportInfo_Adapter *) CPDF_ModuleMgr::Get()->GetPrivateData((void *)FPDFSDK_UNSUPPORT_CALL);
40 40
41 if(!pAdapter) 41 if(!pAdapter)
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 return PAGEMODE_USETHUMBS; 232 return PAGEMODE_USETHUMBS;
233 else if (strPageMode.EqualNoCase(FX_BSTR("FullScreen"))) 233 else if (strPageMode.EqualNoCase(FX_BSTR("FullScreen")))
234 return PAGEMODE_FULLSCREEN; 234 return PAGEMODE_FULLSCREEN;
235 else if (strPageMode.EqualNoCase(FX_BSTR("UseOC"))) 235 else if (strPageMode.EqualNoCase(FX_BSTR("UseOC")))
236 return PAGEMODE_USEOC; 236 return PAGEMODE_USEOC;
237 else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments"))) 237 else if (strPageMode.EqualNoCase(FX_BSTR("UseAttachments")))
238 return PAGEMODE_USEATTACHMENTS; 238 return PAGEMODE_USEATTACHMENTS;
239 239
240 return PAGEMODE_UNKNOWN; 240 return PAGEMODE_UNKNOWN;
241 } 241 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdf_dataavail.cpp ('k') | fpdfsdk/src/fpdf_flatten.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698