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

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

Issue 1899743002: Remove unused FWL Panel 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/fwl_panelimp.cpp ('k') | xfa/fwl/core/ifwl_panel.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"
11 #include "xfa/fwl/core/ifwl_dataprovider.h" 10 #include "xfa/fwl/core/ifwl_dataprovider.h"
11 #include "xfa/fwl/core/ifwl_widget.h"
12 #include "core/fxcrt/include/fx_system.h" 12 #include "core/fxcrt/include/fx_system.h"
13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" 13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h"
14 14
15 #define FWL_CLASS_Form L"FWL_FORM" 15 #define FWL_CLASS_Form L"FWL_FORM"
16 #define FWL_CLASSHASH_Form 881567292 16 #define FWL_CLASSHASH_Form 881567292
17 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY" 17 #define FWL_CLASS_FormProxy L"FWL_FORMPROXY"
18 #define FWL_CLASSHASH_FormProxy 881567291 18 #define FWL_CLASSHASH_FormProxy 881567291
19 #define FWL_STYLEEXT_FRM_Resize (1L << 0) 19 #define FWL_STYLEEXT_FRM_Resize (1L << 0)
20 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1) 20 #define FWL_STYLEEXT_FRM_NativeBorder (1L << 1)
21 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1) 21 #define FWL_STYLEEXT_FRM_RoundCorner (2L << 1)
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 class CFX_WideString; 59 class CFX_WideString;
60 class CFX_Path; 60 class CFX_Path;
61 class IFWL_Widget; 61 class IFWL_Widget;
62 class IFWL_Form; 62 class IFWL_Form;
63 63
64 class IFWL_FormDP : public IFWL_DataProvider { 64 class IFWL_FormDP : public IFWL_DataProvider {
65 public: 65 public:
66 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, FX_BOOL bBig) = 0; 66 virtual CFX_DIBitmap* GetIcon(IFWL_Widget* pWidget, FX_BOOL bBig) = 0;
67 }; 67 };
68 68
69 class IFWL_Form : public IFWL_Panel { 69 class IFWL_Form : public IFWL_Widget {
70 public: 70 public:
71 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties, 71 static IFWL_Form* CreateFormProxy(CFWL_WidgetImpProperties& properties,
72 CFX_WideString* classname, 72 CFX_WideString* classname,
73 IFWL_Widget* pOuter); 73 IFWL_Widget* pOuter);
74 74
75 FWL_FORMSIZE GetFormSize(); 75 FWL_FORMSIZE GetFormSize();
76 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize); 76 FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize);
77 IFWL_Widget* DoModal(); 77 IFWL_Widget* DoModal();
78 IFWL_Widget* DoModal(uint32_t& dwCommandID); 78 IFWL_Widget* DoModal(uint32_t& dwCommandID);
79 FWL_ERR EndDoModal(); 79 FWL_ERR EndDoModal();
80 FWL_ERR SetBorderRegion(CFX_Path* pPath); 80 FWL_ERR SetBorderRegion(CFX_Path* pPath);
81 81
82 protected: 82 protected:
83 IFWL_Form(); 83 IFWL_Form();
84 }; 84 };
85 85
86 #endif // XFA_FWL_CORE_IFWL_FORM_H_ 86 #endif // XFA_FWL_CORE_IFWL_FORM_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/fwl_panelimp.cpp ('k') | xfa/fwl/core/ifwl_panel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698