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

Side by Side Diff: xfa/fwl/core/ifwl_form.h

Issue 1943413002: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@bcdattribute
Patch Set: Created 4 years, 7 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 | « xfa/fwl/core/ifwl_dataprovider.h ('k') | xfa/fwl/core/ifwl_themeprovider.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_FWL_CORE_IFWL_FORM_H_ 7 #ifndef XFA_FWL_CORE_IFWL_FORM_H_
8 #define XFA_FWL_CORE_IFWL_FORM_H_ 8 #define XFA_FWL_CORE_IFWL_FORM_H_
9 9
10 #include "xfa/fwl/core/ifwl_dataprovider.h" 10 #include "xfa/fwl/core/ifwl_dataprovider.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, FX_BOOL bBig) = 0; 46 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, FX_BOOL bBig) = 0;
47 }; 47 };
48 48
49 class IFWL_Form : public IFWL_Widget { 49 class IFWL_Form : public IFWL_Widget {
50 public: 50 public:
51 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties, 51 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties,
52 CFX_WideString* classname, 52 CFX_WideString* classname,
53 IFWL_Widget* pOuter); 53 IFWL_Widget* pOuter);
54 54
55 FWL_FORMSIZE GetFormSize(); 55 FWL_FORMSIZE GetFormSize();
56 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); 56 FWL_Error SetFormSize(FWL_FORMSIZE eFormSize);
57 IFWL_Widget* DoModal(); 57 IFWL_Widget* DoModal();
58 IFWL_Widget* DoModal(uint32_t& dwCommandID); 58 IFWL_Widget* DoModal(uint32_t& dwCommandID);
59 FWL_ERR EndDoModal(); 59 FWL_Error EndDoModal();
60 FWL_ERR SetBorderRegion(CFX_Path* pPath); 60 FWL_Error SetBorderRegion(CFX_Path* pPath);
61 61
62 protected: 62 protected:
63 IFWL_Form(); 63 IFWL_Form();
64 }; 64 };
65 65
66 #endif // XFA_FWL_CORE_IFWL_FORM_H_ 66 #endif // XFA_FWL_CORE_IFWL_FORM_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_dataprovider.h ('k') | xfa/fwl/core/ifwl_themeprovider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698