| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 // Copyright 2016 PDFium Authors. All rights reserved. |  | 
| 2 // Use of this source code is governed by a BSD-style license that can be |  | 
| 3 // found in the LICENSE file. |  | 
| 4 |  | 
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |  | 
| 6 |  | 
| 7 #ifndef XFA_FWL_CORE_CFWL_WIDGETIMPPROPERTIES_H_ |  | 
| 8 #define XFA_FWL_CORE_CFWL_WIDGETIMPPROPERTIES_H_ |  | 
| 9 |  | 
| 10 #include "core/fxcrt/fx_coordinates.h" |  | 
| 11 #include "core/fxcrt/fx_system.h" |  | 
| 12 #include "xfa/fwl/core/fwl_widgetdef.h" |  | 
| 13 |  | 
| 14 class IFWL_DataProvider; |  | 
| 15 class IFWL_ThemeProvider; |  | 
| 16 class IFWL_Widget; |  | 
| 17 |  | 
| 18 class CFWL_WidgetImpProperties { |  | 
| 19  public: |  | 
| 20   CFWL_WidgetImpProperties(); |  | 
| 21   ~CFWL_WidgetImpProperties(); |  | 
| 22   CFWL_WidgetImpProperties(const CFWL_WidgetImpProperties& other); |  | 
| 23 |  | 
| 24   CFX_Matrix m_ctmOnParent; |  | 
| 25   CFX_RectF m_rtWidget; |  | 
| 26   uint32_t m_dwStyles; |  | 
| 27   uint32_t m_dwStyleExes; |  | 
| 28   uint32_t m_dwStates; |  | 
| 29   IFWL_ThemeProvider* m_pThemeProvider; |  | 
| 30   IFWL_DataProvider* m_pDataProvider; |  | 
| 31   IFWL_Widget* m_pParent; |  | 
| 32   IFWL_Widget* m_pOwner; |  | 
| 33 }; |  | 
| 34 |  | 
| 35 inline CFWL_WidgetImpProperties::CFWL_WidgetImpProperties() |  | 
| 36     : m_dwStyles(FWL_WGTSTYLE_Child), |  | 
| 37       m_dwStyleExes(0), |  | 
| 38       m_dwStates(0), |  | 
| 39       m_pThemeProvider(nullptr), |  | 
| 40       m_pDataProvider(nullptr), |  | 
| 41       m_pParent(nullptr), |  | 
| 42       m_pOwner(nullptr) { |  | 
| 43   m_ctmOnParent.SetIdentity(); |  | 
| 44   m_rtWidget.Set(0, 0, 0, 0); |  | 
| 45 } |  | 
| 46 |  | 
| 47 inline CFWL_WidgetImpProperties::~CFWL_WidgetImpProperties() {} |  | 
| 48 |  | 
| 49 inline CFWL_WidgetImpProperties::CFWL_WidgetImpProperties( |  | 
| 50     const CFWL_WidgetImpProperties& other) = default; |  | 
| 51 |  | 
| 52 #endif  // XFA_FWL_CORE_CFWL_WIDGETIMPPROPERTIES_H_ |  | 
| OLD | NEW | 
|---|