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

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

Issue 2527683002: Remove DataProvider from CFWL_WidgetProperties (Closed)
Patch Set: Rebase to master Created 4 years 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/cfwl_pushbutton.cpp ('k') | xfa/fwl/core/cfwl_widgetproperties.cpp » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_CFWL_WIDGETPROPERTIES_H_ 7 #ifndef XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_
8 #define XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ 8 #define XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_
9 9
10 #include "core/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
11 #include "core/fxcrt/fx_system.h" 11 #include "core/fxcrt/fx_system.h"
12 #include "xfa/fwl/core/fwl_widgetdef.h" 12 #include "xfa/fwl/core/fwl_widgetdef.h"
13 #include "xfa/fwl/core/ifwl_widget.h" 13 #include "xfa/fwl/core/ifwl_widget.h"
14 14
15 class IFWL_ThemeProvider; 15 class IFWL_ThemeProvider;
16 class IFWL_Widget; 16 class IFWL_Widget;
17 17
18 class CFWL_WidgetProperties { 18 class CFWL_WidgetProperties {
19 public: 19 public:
20 CFWL_WidgetProperties(); 20 CFWL_WidgetProperties();
21 explicit CFWL_WidgetProperties(IFWL_Widget::DataProvider* dataProvider);
22 ~CFWL_WidgetProperties(); 21 ~CFWL_WidgetProperties();
23 22
24 CFX_RectF m_rtWidget; 23 CFX_RectF m_rtWidget;
25 uint32_t m_dwStyles; 24 uint32_t m_dwStyles;
26 uint32_t m_dwStyleExes; 25 uint32_t m_dwStyleExes;
27 uint32_t m_dwStates; 26 uint32_t m_dwStates;
28 IFWL_ThemeProvider* m_pThemeProvider; 27 IFWL_ThemeProvider* m_pThemeProvider;
29 IFWL_Widget::DataProvider* m_pDataProvider;
30 IFWL_Widget* m_pParent; 28 IFWL_Widget* m_pParent;
31 IFWL_Widget* m_pOwner; 29 IFWL_Widget* m_pOwner;
32 }; 30 };
33 31
34 #endif // XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ 32 #endif // XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_pushbutton.cpp ('k') | xfa/fwl/core/cfwl_widgetproperties.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698