| OLD | NEW |
| 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_CPDFXFA_APP_H_ | 7 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_APP_H_ |
| 8 #define FPDFSDK_FPDFXFA_CPDFXFA_APP_H_ | 8 #define FPDFSDK_FPDFXFA_CPDFXFA_APP_H_ |
| 9 | 9 |
| 10 #include "xfa/fxfa/fxfa.h" | 10 #include "xfa/fxfa/fxfa.h" |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 void Beep(uint32_t dwType) override; | 41 void Beep(uint32_t dwType) override; |
| 42 int32_t MsgBox(const CFX_WideString& wsMessage, | 42 int32_t MsgBox(const CFX_WideString& wsMessage, |
| 43 const CFX_WideString& wsTitle, | 43 const CFX_WideString& wsTitle, |
| 44 uint32_t dwIconType, | 44 uint32_t dwIconType, |
| 45 uint32_t dwButtonType) override; | 45 uint32_t dwButtonType) override; |
| 46 CFX_WideString Response(const CFX_WideString& wsQuestion, | 46 CFX_WideString Response(const CFX_WideString& wsQuestion, |
| 47 const CFX_WideString& wsTitle, | 47 const CFX_WideString& wsTitle, |
| 48 const CFX_WideString& wsDefaultAnswer, | 48 const CFX_WideString& wsDefaultAnswer, |
| 49 FX_BOOL bMark) override; | 49 FX_BOOL bMark) override; |
| 50 | 50 |
| 51 IFX_FileRead* DownloadURL(const CFX_WideString& wsURL) override; | 51 IFX_SeekableReadStream* DownloadURL(const CFX_WideString& wsURL) override; |
| 52 FX_BOOL PostRequestURL(const CFX_WideString& wsURL, | 52 FX_BOOL PostRequestURL(const CFX_WideString& wsURL, |
| 53 const CFX_WideString& wsData, | 53 const CFX_WideString& wsData, |
| 54 const CFX_WideString& wsContentType, | 54 const CFX_WideString& wsContentType, |
| 55 const CFX_WideString& wsEncode, | 55 const CFX_WideString& wsEncode, |
| 56 const CFX_WideString& wsHeader, | 56 const CFX_WideString& wsHeader, |
| 57 CFX_WideString& wsResponse) override; | 57 CFX_WideString& wsResponse) override; |
| 58 FX_BOOL PutRequestURL(const CFX_WideString& wsURL, | 58 FX_BOOL PutRequestURL(const CFX_WideString& wsURL, |
| 59 const CFX_WideString& wsData, | 59 const CFX_WideString& wsData, |
| 60 const CFX_WideString& wsEncode) override; | 60 const CFX_WideString& wsEncode) override; |
| 61 | 61 |
| 62 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; | 62 void LoadString(int32_t iStringID, CFX_WideString& wsString) override; |
| 63 IFWL_AdapterTimerMgr* GetTimerMgr() override; | 63 IFWL_AdapterTimerMgr* GetTimerMgr() override; |
| 64 | 64 |
| 65 CFX_ArrayTemplate<CPDFSDK_FormFillEnvironment*> m_pFormFillEnvList; | 65 CFX_ArrayTemplate<CPDFSDK_FormFillEnvironment*> m_pFormFillEnvList; |
| 66 | 66 |
| 67 protected: | 67 protected: |
| 68 FX_BOOL m_bJavaScriptInitialized; | 68 FX_BOOL m_bJavaScriptInitialized; |
| 69 std::unique_ptr<CXFA_FFApp> m_pXFAApp; | 69 std::unique_ptr<CXFA_FFApp> m_pXFAApp; |
| 70 v8::Isolate* m_pIsolate; | 70 v8::Isolate* m_pIsolate; |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 #endif // FPDFSDK_FPDFXFA_CPDFXFA_APP_H_ | 73 #endif // FPDFSDK_FPDFXFA_CPDFXFA_APP_H_ |
| OLD | NEW |