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

Side by Side Diff: fpdfsdk/fpdfxfa/cpdfxfa_context.h

Issue 2451493002: Refcount all the IFX_ stream classes all the time. (Closed)
Patch Set: Clean up cast expression Created 4 years 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/fpdfview.cpp ('k') | fpdfsdk/fpdfxfa/cpdfxfa_context.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_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
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
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_
OLDNEW
« no previous file with comments | « fpdfsdk/fpdfview.cpp ('k') | fpdfsdk/fpdfxfa/cpdfxfa_context.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698