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

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

Issue 2338303002: Remove FFI_ from CPDFSDK_Environment method names (Closed)
Patch Set: Review feedback Created 4 years, 3 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/fpdfxfa/fpdfxfa_util.cpp ('k') | fpdfsdk/fsdk_actionhandler.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 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 7 #ifndef FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 8 #define FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
9 9
10 #include "xfa/fxfa/include/fxfa.h" 10 #include "xfa/fxfa/include/fxfa.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 void Beep(uint32_t dwType) override; 46 void Beep(uint32_t dwType) override;
47 int32_t MsgBox(const CFX_WideString& wsMessage, 47 int32_t MsgBox(const CFX_WideString& wsMessage,
48 const CFX_WideString& wsTitle, 48 const CFX_WideString& wsTitle,
49 uint32_t dwIconType, 49 uint32_t dwIconType,
50 uint32_t dwButtonType) override; 50 uint32_t dwButtonType) override;
51 CFX_WideString Response(const CFX_WideString& wsQuestion, 51 CFX_WideString Response(const CFX_WideString& wsQuestion,
52 const CFX_WideString& wsTitle, 52 const CFX_WideString& wsTitle,
53 const CFX_WideString& wsDefaultAnswer, 53 const CFX_WideString& wsDefaultAnswer,
54 FX_BOOL bMark) override; 54 FX_BOOL bMark) override;
55 55
56 int32_t GetDocumentCountInBatch() override;
57 int32_t GetCurDocumentInBatch() override;
58
59 IFX_FileRead* DownloadURL(const CFX_WideString& wsURL) override; 56 IFX_FileRead* DownloadURL(const CFX_WideString& wsURL) override;
60 FX_BOOL PostRequestURL(const CFX_WideString& wsURL, 57 FX_BOOL PostRequestURL(const CFX_WideString& wsURL,
61 const CFX_WideString& wsData, 58 const CFX_WideString& wsData,
62 const CFX_WideString& wsContentType, 59 const CFX_WideString& wsContentType,
63 const CFX_WideString& wsEncode, 60 const CFX_WideString& wsEncode,
64 const CFX_WideString& wsHeader, 61 const CFX_WideString& wsHeader,
65 CFX_WideString& wsResponse) override; 62 CFX_WideString& wsResponse) override;
66 FX_BOOL PutRequestURL(const CFX_WideString& wsURL, 63 FX_BOOL PutRequestURL(const CFX_WideString& wsURL,
67 const CFX_WideString& wsData, 64 const CFX_WideString& wsData,
68 const CFX_WideString& wsEncode) override; 65 const CFX_WideString& wsEncode) override;
69 66
70 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; 67 void LoadString(int32_t iStringID, CFX_WideString& wsString) override;
71 IFWL_AdapterTimerMgr* GetTimerMgr() override; 68 IFWL_AdapterTimerMgr* GetTimerMgr() override;
72 69
73 CFX_ArrayTemplate<CPDFSDK_Environment*> m_pEnvList; 70 CFX_ArrayTemplate<CPDFSDK_Environment*> m_pEnvList;
74 71
75 protected: 72 protected:
76 FX_BOOL m_bJavaScriptInitialized; 73 FX_BOOL m_bJavaScriptInitialized;
77 std::unique_ptr<CXFA_FFApp> m_pXFAApp; 74 std::unique_ptr<CXFA_FFApp> m_pXFAApp;
78 v8::Isolate* m_pIsolate; 75 v8::Isolate* m_pIsolate;
79 CFX_WideString m_csAppType; 76 CFX_WideString m_csAppType;
80 }; 77 };
81 78
82 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_ 79 #endif // FPDFSDK_FPDFXFA_INCLUDE_FPDFXFA_APP_H_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfxfa/fpdfxfa_util.cpp ('k') | fpdfsdk/fsdk_actionhandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698