| 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_LIGHTWIDGET_CFWL_WIDGET_H_ | 7 #ifndef XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ |
| 8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ | 8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 | 11 |
| 12 #include "xfa/fwl/core/cfwl_event.h" | 12 #include "xfa/fwl/core/cfwl_event.h" |
| 13 #include "xfa/fwl/core/ifwl_widget.h" |
| 13 #include "xfa/fwl/lightwidget/cfwl_widgetproperties.h" | 14 #include "xfa/fwl/lightwidget/cfwl_widgetproperties.h" |
| 14 #include "xfa/fwl/core/ifwl_widget.h" | |
| 15 | 15 |
| 16 class CFWL_Event; | 16 class CFWL_Event; |
| 17 class CFWL_Message; | 17 class CFWL_Message; |
| 18 class CFWL_Widget; | 18 class CFWL_Widget; |
| 19 class CFWL_WidgetDelegate; | 19 class CFWL_WidgetDelegate; |
| 20 class CFWL_WidgetMgr; | 20 class CFWL_WidgetMgr; |
| 21 | 21 |
| 22 class CFWL_Widget { | 22 class CFWL_Widget { |
| 23 public: | 23 public: |
| 24 virtual ~CFWL_Widget(); | 24 virtual ~CFWL_Widget(); |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 protected: | 78 protected: |
| 79 FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = nullptr); | 79 FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = nullptr); |
| 80 | 80 |
| 81 std::unique_ptr<IFWL_Widget> m_pIface; | 81 std::unique_ptr<IFWL_Widget> m_pIface; |
| 82 IFWL_WidgetDelegate* m_pDelegate; | 82 IFWL_WidgetDelegate* m_pDelegate; |
| 83 CFWL_WidgetMgr* const m_pWidgetMgr; | 83 CFWL_WidgetMgr* const m_pWidgetMgr; |
| 84 std::unique_ptr<CFWL_WidgetProperties> m_pProperties; | 84 std::unique_ptr<CFWL_WidgetProperties> m_pProperties; |
| 85 }; | 85 }; |
| 86 | 86 |
| 87 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ | 87 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ |
| OLD | NEW |