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

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

Issue 1874963002: Remove some FWL code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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_adapterthreadmgr.h ('k') | xfa/fwl/core/ifwl_thread.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_panel.h" 10 #include "xfa/fwl/core/ifwl_panel.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 #define FWL_PARTSTATE_FRM_Inactive 4 48 #define FWL_PARTSTATE_FRM_Inactive 4
49 #define FWL_PARTSTATE_FRM_Disabled 5 49 #define FWL_PARTSTATE_FRM_Disabled 5
50 50
51 enum FWL_FORMSIZE { 51 enum FWL_FORMSIZE {
52 FWL_FORMSIZE_Manual = 0, 52 FWL_FORMSIZE_Manual = 0,
53 FWL_FORMSIZE_Width, 53 FWL_FORMSIZE_Width,
54 FWL_FORMSIZE_Height, 54 FWL_FORMSIZE_Height,
55 FWL_FORMSIZE_All, 55 FWL_FORMSIZE_All,
56 }; 56 };
57 57
58 enum FWL_COMMANDID {
59 FWL_COMMANDID_Close = 0,
60 FWL_COMMANDID_Ok,
61 FWL_COMMANDID_Cancel,
62 FWL_COMMANDID_Abort,
63 FWL_COMMANDID_Retry,
64 FWL_COMMANDID_Ignore,
65 FWL_COMMANDID_Yes,
66 FWL_COMMANDID_No,
67 };
68
69 class CFX_DIBitmap; 58 class CFX_DIBitmap;
70 class CFX_WideString; 59 class CFX_WideString;
71 class CFX_Path; 60 class CFX_Path;
72 class IFWL_Widget; 61 class IFWL_Widget;
73 class IFWL_Form; 62 class IFWL_Form;
74 63
75 class IFWL_FormDP : public IFWL_DataProvider { 64 class IFWL_FormDP : public IFWL_DataProvider {
76 public: 65 public:
77 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, FX_BOOL bBig) = 0; 66 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, FX_BOOL bBig) = 0;
78 }; 67 };
79 68
80 class IFWL_Form : public IFWL_Panel { 69 class IFWL_Form : public IFWL_Panel {
81 public: 70 public:
82 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties, 71 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties,
83 CFX_WideString* classname, 72 CFX_WideString* classname,
84 IFWL_Widget* pOuter); 73 IFWL_Widget* pOuter);
85 74
86 FWL_FORMSIZE GetFormSize(); 75 FWL_FORMSIZE GetFormSize();
87 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); 76 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize);
88 IFWL_Widget* DoModal(); 77 IFWL_Widget* DoModal();
89 IFWL_Widget* DoModal(uint32_t& dwCommandID); 78 IFWL_Widget* DoModal(uint32_t& dwCommandID);
90 FWL_ERR EndDoModal(); 79 FWL_ERR EndDoModal();
91 FWL_ERR SetBorderRegion(CFX_Path* pPath); 80 FWL_ERR SetBorderRegion(CFX_Path* pPath);
92 81
93 protected: 82 protected:
94 IFWL_Form(); 83 IFWL_Form();
95 }; 84 };
96 85
97 #endif // XFA_FWL_CORE_IFWL_FORM_H_ 86 #endif // XFA_FWL_CORE_IFWL_FORM_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_adapterthreadmgr.h ('k') | xfa/fwl/core/ifwl_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698