| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |