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

Side by Side Diff: xfa/fxfa/fxfa.h

Issue 2443723002: Rename IFX_ stream names (Closed)
Patch Set: Nits Created 4 years, 1 month 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 | « xfa/fxfa/fm2js/xfa_fm2jscontext.cpp ('k') | xfa/fxfa/parser/cxfa_dataexporter.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 XFA_FXFA_FXFA_H_ 7 #ifndef XFA_FXFA_FXFA_H_
8 #define XFA_FXFA_FXFA_H_ 8 #define XFA_FXFA_FXFA_H_
9 9
10 #include <vector> 10 #include <vector>
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 virtual CFX_WideString Response(const CFX_WideString& wsQuestion, 223 virtual CFX_WideString Response(const CFX_WideString& wsQuestion,
224 const CFX_WideString& wsTitle = L"", 224 const CFX_WideString& wsTitle = L"",
225 const CFX_WideString& wsDefaultAnswer = L"", 225 const CFX_WideString& wsDefaultAnswer = L"",
226 FX_BOOL bMask = TRUE) = 0; 226 FX_BOOL bMask = TRUE) = 0;
227 227
228 /** 228 /**
229 * Download something from somewhere. 229 * Download something from somewhere.
230 * @param[in] wsURL - http, ftp, such as 230 * @param[in] wsURL - http, ftp, such as
231 * "http://www.w3.org/TR/REC-xml-names/". 231 * "http://www.w3.org/TR/REC-xml-names/".
232 */ 232 */
233 virtual IFX_FileRead* DownloadURL(const CFX_WideString& wsURL) = 0; 233 virtual IFX_SeekableReadStream* DownloadURL(const CFX_WideString& wsURL) = 0;
234 234
235 /** 235 /**
236 * POST data to the given url. 236 * POST data to the given url.
237 * @param[in] wsURL the URL being uploaded. 237 * @param[in] wsURL the URL being uploaded.
238 * @param[in] wsData the data being uploaded. 238 * @param[in] wsData the data being uploaded.
239 * @param[in] wsContentType the content type of data including text/html, 239 * @param[in] wsContentType the content type of data including text/html,
240 * text/xml, text/plain, multipart/form-data, 240 * text/xml, text/plain, multipart/form-data,
241 * application/x-www-form-urlencoded, 241 * application/x-www-form-urlencoded,
242 * application/octet-stream, any valid MIME type. 242 * application/octet-stream, any valid MIME type.
243 * @param[in] wsEncode the encode of data including UTF-8, UTF-16, 243 * @param[in] wsEncode the encode of data including UTF-8, UTF-16,
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 uint32_t dwOptions) = 0; 313 uint32_t dwOptions) = 0;
314 virtual FX_ARGB GetHighlightColor(CXFA_FFDoc* hDoc) = 0; 314 virtual FX_ARGB GetHighlightColor(CXFA_FFDoc* hDoc) = 0;
315 315
316 virtual FX_BOOL SubmitData(CXFA_FFDoc* hDoc, CXFA_Submit submit) = 0; 316 virtual FX_BOOL SubmitData(CXFA_FFDoc* hDoc, CXFA_Submit submit) = 0;
317 virtual FX_BOOL GetGlobalProperty(CXFA_FFDoc* hDoc, 317 virtual FX_BOOL GetGlobalProperty(CXFA_FFDoc* hDoc,
318 const CFX_ByteStringC& szPropName, 318 const CFX_ByteStringC& szPropName,
319 CFXJSE_Value* pValue) = 0; 319 CFXJSE_Value* pValue) = 0;
320 virtual FX_BOOL SetGlobalProperty(CXFA_FFDoc* hDoc, 320 virtual FX_BOOL SetGlobalProperty(CXFA_FFDoc* hDoc,
321 const CFX_ByteStringC& szPropName, 321 const CFX_ByteStringC& szPropName,
322 CFXJSE_Value* pValue) = 0; 322 CFXJSE_Value* pValue) = 0;
323 virtual IFX_FileRead* OpenLinkedFile(CXFA_FFDoc* hDoc, 323 virtual IFX_SeekableReadStream* OpenLinkedFile(
324 const CFX_WideString& wsLink) = 0; 324 CXFA_FFDoc* hDoc,
325 const CFX_WideString& wsLink) = 0;
325 }; 326 };
326 327
327 class IXFA_WidgetIterator { 328 class IXFA_WidgetIterator {
328 public: 329 public:
329 virtual ~IXFA_WidgetIterator() {} 330 virtual ~IXFA_WidgetIterator() {}
330 331
331 virtual void Reset() = 0; 332 virtual void Reset() = 0;
332 virtual CXFA_FFWidget* MoveToFirst() = 0; 333 virtual CXFA_FFWidget* MoveToFirst() = 0;
333 virtual CXFA_FFWidget* MoveToLast() = 0; 334 virtual CXFA_FFWidget* MoveToLast() = 0;
334 virtual CXFA_FFWidget* MoveToNext() = 0; 335 virtual CXFA_FFWidget* MoveToNext() = 0;
335 virtual CXFA_FFWidget* MoveToPrevious() = 0; 336 virtual CXFA_FFWidget* MoveToPrevious() = 0;
336 virtual CXFA_FFWidget* GetCurrentWidget() = 0; 337 virtual CXFA_FFWidget* GetCurrentWidget() = 0;
337 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0; 338 virtual FX_BOOL SetCurrentWidget(CXFA_FFWidget* hWidget) = 0;
338 }; 339 };
339 340
340 #endif // XFA_FXFA_FXFA_H_ 341 #endif // XFA_FXFA_FXFA_H_
OLDNEW
« no previous file with comments | « xfa/fxfa/fm2js/xfa_fm2jscontext.cpp ('k') | xfa/fxfa/parser/cxfa_dataexporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698