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

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

Issue 2070583003: Make code compile with clang_use_chrome_plugin (part VI) (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: better macros Created 4 years, 6 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/lightwidget/cfwl_pushbutton.h ('k') | xfa/fwl/lightwidget/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_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_ 7 #ifndef XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_
8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_ 8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_string.h" 11 #include "core/fxcrt/include/fx_string.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 class CFWL_Widget; 15 class CFWL_Widget;
16 class IFWL_DataProvider; 16 class IFWL_DataProvider;
17 17
18 class CFWL_WidgetProperties { 18 class CFWL_WidgetProperties {
19 public: 19 public:
20 CFWL_WidgetProperties() 20 CFWL_WidgetProperties();
21 : m_dwStyles(FWL_WGTSTYLE_Child), 21 ~CFWL_WidgetProperties();
22 m_dwStyleExes(0), 22 CFWL_WidgetProperties(const CFWL_WidgetProperties& other);
23 m_dwStates(0),
24 m_pParent(nullptr),
25 m_pOwner(nullptr) {
26 m_rtWidget.Set(0, 0, 0, 0);
27 }
28 23
29 CFWL_WidgetImpProperties MakeWidgetImpProperties( 24 CFWL_WidgetImpProperties MakeWidgetImpProperties(
30 IFWL_DataProvider* pDataProvider) const; 25 IFWL_DataProvider* pDataProvider) const;
31 26
32 CFX_WideString m_wsWindowclass; 27 CFX_WideString m_wsWindowclass;
33 CFX_Matrix m_ctmOnParent; 28 CFX_Matrix m_ctmOnParent;
34 CFX_RectF m_rtWidget; 29 CFX_RectF m_rtWidget;
35 uint32_t m_dwStyles; 30 uint32_t m_dwStyles;
36 uint32_t m_dwStyleExes; 31 uint32_t m_dwStyleExes;
37 uint32_t m_dwStates; 32 uint32_t m_dwStates;
38 CFWL_Widget* m_pParent; 33 CFWL_Widget* m_pParent;
39 CFWL_Widget* m_pOwner; 34 CFWL_Widget* m_pOwner;
40 }; 35 };
41 36
42 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_ 37 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_
OLDNEW
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_pushbutton.h ('k') | xfa/fwl/lightwidget/cfwl_widgetproperties.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698