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

Side by Side Diff: fpdfsdk/include/fpdfxfa/fpdfxfa_app.h

Issue 1172793002: Merge to XFA: Use stdint.h types throughout PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: 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/include/formfiller/FFL_Notify.h ('k') | fpdfsdk/include/fpdfxfa/fpdfxfa_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 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 FPDFXFA_APP_H_ 7 #ifndef FPDFXFA_APP_H_
8 #define FPDFXFA_APP_H_ 8 #define FPDFXFA_APP_H_
9 9
10 class IFXJS_Runtime; 10 class IFXJS_Runtime;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 void GetFoxitVersion(CFX_WideString &wsFoxitVersion) override { 42 void GetFoxitVersion(CFX_WideString &wsFoxitVersion) override {
43 wsFoxitVersion = L"7.0"; 43 wsFoxitVersion = L"7.0";
44 } 44 }
45 45
46 void GetAppName(CFX_WideString& wsName) override; 46 void GetAppName(CFX_WideString& wsName) override;
47 void GetFoxitAppName(CFX_WideString& wsFoxitName) override { 47 void GetFoxitAppName(CFX_WideString& wsFoxitName) override {
48 wsFoxitName = L"Foxit"; 48 wsFoxitName = L"Foxit";
49 } 49 }
50 50
51 void Beep(FX_DWORD dwType) override; 51 void Beep(FX_DWORD dwType) override;
52 FX_INT32 MsgBox(FX_WSTR wsMessage, FX_WSTR wsTitle, FX_DWORD dwIconType, FX_ DWORD dwButtonType) override; 52 int32_t MsgBox(FX_WSTR wsMessage, FX_WSTR wsTitle, FX_DWORD dwIconType, FX_D WORD dwButtonType) override;
53 void Response(CFX_WideString &wsAnswer, FX_WSTR wsQuestion, FX_WSTR wsTitle, 53 void Response(CFX_WideString &wsAnswer, FX_WSTR wsQuestion, FX_WSTR wsTitle,
54 FX_WSTR wsDefaultAnswer, FX_BOOL bMark) override; 54 FX_WSTR wsDefaultAnswer, FX_BOOL bMark) override;
55 55
56 FX_INT32 GetDocumentCountInBatch() override; 56 int32_t GetDocumentCountInBatch() override;
57 FX_INT32 GetCurDocumentInBatch() override; 57 int32_t GetCurDocumentInBatch() override;
58 58
59 IFX_FileRead* DownloadURL(FX_WSTR wsURL) override; 59 IFX_FileRead* DownloadURL(FX_WSTR wsURL) override;
60 FX_BOOL PostRequestURL(FX_WSTR wsURL, FX_WSTR wsData, FX_WSTR wsContentType, 60 FX_BOOL PostRequestURL(FX_WSTR wsURL, FX_WSTR wsData, FX_WSTR wsContentType,
61 FX_WSTR wsEncode, FX_WSTR wsHeader, CFX_WideString &w sResponse) override; 61 FX_WSTR wsEncode, FX_WSTR wsHeader, CFX_WideString &w sResponse) override;
62 FX_BOOL PutRequestURL(FX_WSTR wsURL, FX_WSTR wsData, FX_WSTR wsEncode) overr ide; 62 FX_BOOL PutRequestURL(FX_WSTR wsURL, FX_WSTR wsData, FX_WSTR wsEncode) overr ide;
63 63
64 void LoadString(FX_INT32 iStringID, CFX_WideString &wsString) override; 64 void LoadString(int32_t iStringID, CFX_WideString &wsString) override;
65 FX_BOOL ShowFileDialog(FX_WSTR wsTitle, FX_WSTR wsFilter, CFX_WideStringArra y &wsPathArr, FX_BOOL bOpen) override; 65 FX_BOOL ShowFileDialog(FX_WSTR wsTitle, FX_WSTR wsFilter, CFX_WideStringArra y &wsPathArr, FX_BOOL bOpen) override;
66 IFWL_AdapterTimerMgr* GetTimerMgr() override; 66 IFWL_AdapterTimerMgr* GetTimerMgr() override;
67 67
68 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList; 68 CFX_ArrayTemplate<CPDFDoc_Environment*> m_pEnvList;
69 69
70 protected: 70 protected:
71 static CPDFXFA_App* g_pApp; 71 static CPDFXFA_App* g_pApp;
72 72
73 FX_BOOL m_bInitRuntime; 73 FX_BOOL m_bInitRuntime;
74 IXFA_App* m_pXFAApp; 74 IXFA_App* m_pXFAApp;
75 IXFA_FontMgr* m_pFontMgr; 75 IXFA_FontMgr* m_pFontMgr;
76 FXJSE_HRUNTIME m_hJSERuntime; 76 FXJSE_HRUNTIME m_hJSERuntime;
77 IFXJS_Runtime* m_pJSRuntime; 77 IFXJS_Runtime* m_pJSRuntime;
78 CJS_RuntimeFactory* m_pJSRuntimeFactory; 78 CJS_RuntimeFactory* m_pJSRuntimeFactory;
79 CFX_WideString m_csAppType; 79 CFX_WideString m_csAppType;
80 }; 80 };
81 81
82 #endif // FPDFXFA_APP_H_ 82 #endif // FPDFXFA_APP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_Notify.h ('k') | fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698