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_CONTEXT_H_ | 7 #ifndef FPDFSDK_FPDFXFA_CPDFXFA_CONTEXT_H_ |
8 #define FPDFSDK_FPDFXFA_CPDFXFA_CONTEXT_H_ | 8 #define FPDFSDK_FPDFXFA_CPDFXFA_CONTEXT_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 void Beep(uint32_t dwType) override; | 61 void Beep(uint32_t dwType) override; |
62 int32_t MsgBox(const CFX_WideString& wsMessage, | 62 int32_t MsgBox(const CFX_WideString& wsMessage, |
63 const CFX_WideString& wsTitle, | 63 const CFX_WideString& wsTitle, |
64 uint32_t dwIconType, | 64 uint32_t dwIconType, |
65 uint32_t dwButtonType) override; | 65 uint32_t dwButtonType) override; |
66 CFX_WideString Response(const CFX_WideString& wsQuestion, | 66 CFX_WideString Response(const CFX_WideString& wsQuestion, |
67 const CFX_WideString& wsTitle, | 67 const CFX_WideString& wsTitle, |
68 const CFX_WideString& wsDefaultAnswer, | 68 const CFX_WideString& wsDefaultAnswer, |
69 bool bMark) override; | 69 bool bMark) override; |
70 IFX_SeekableReadStream* DownloadURL(const CFX_WideString& wsURL) override; | 70 CFX_RetainPtr<IFX_SeekableReadStream> DownloadURL( |
| 71 const CFX_WideString& wsURL) override; |
71 bool PostRequestURL(const CFX_WideString& wsURL, | 72 bool PostRequestURL(const CFX_WideString& wsURL, |
72 const CFX_WideString& wsData, | 73 const CFX_WideString& wsData, |
73 const CFX_WideString& wsContentType, | 74 const CFX_WideString& wsContentType, |
74 const CFX_WideString& wsEncode, | 75 const CFX_WideString& wsEncode, |
75 const CFX_WideString& wsHeader, | 76 const CFX_WideString& wsHeader, |
76 CFX_WideString& wsResponse) override; | 77 CFX_WideString& wsResponse) override; |
77 bool PutRequestURL(const CFX_WideString& wsURL, | 78 bool PutRequestURL(const CFX_WideString& wsURL, |
78 const CFX_WideString& wsData, | 79 const CFX_WideString& wsData, |
79 const CFX_WideString& wsEncode) override; | 80 const CFX_WideString& wsEncode) override; |
80 | 81 |
(...skipping 26 matching lines...) Expand all Loading... |
107 std::unique_ptr<CJS_Runtime> m_pRuntime; | 108 std::unique_ptr<CJS_Runtime> m_pRuntime; |
108 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; | 109 CFX_ArrayTemplate<CPDFXFA_Page*> m_XFAPageList; |
109 LoadStatus m_nLoadStatus; | 110 LoadStatus m_nLoadStatus; |
110 int m_nPageCount; | 111 int m_nPageCount; |
111 | 112 |
112 // Must be destroyed before |m_pFormFillEnv|. | 113 // Must be destroyed before |m_pFormFillEnv|. |
113 CPDFXFA_DocEnvironment m_DocEnv; | 114 CPDFXFA_DocEnvironment m_DocEnv; |
114 }; | 115 }; |
115 | 116 |
116 #endif // FPDFSDK_FPDFXFA_CPDFXFA_CONTEXT_H_ | 117 #endif // FPDFSDK_FPDFXFA_CPDFXFA_CONTEXT_H_ |
OLD | NEW |