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

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

Issue 1834323003: Move xfa/include/fwl/{theme,lightwidget} to xfa/fwl (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
(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_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_
8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_
9
10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_string.h"
12 #include "core/fxcrt/include/fx_system.h"
13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h"
14
15 class CFWL_Widget;
16 class IFWL_DataProvider;
17
18 class CFWL_WidgetProperties {
19 public:
20 CFWL_WidgetProperties() {
21 m_ctmOnParent.SetIdentity();
Tom Sepez 2016/03/29 16:45:31 nit: The default ctor for CFX_Matrix already does
dsinclair 2016/03/29 19:22:24 Done.
22 m_rtWidget.Set(0, 0, 0, 0);
Tom Sepez 2016/03/29 16:45:31 Pity the default ctor doesn't do this ...
dsinclair 2016/03/29 19:22:24 CFX_RectF is an instantiation of a CFX_Remplate<FX
23 m_dwStyles = FWL_WGTSTYLE_Child;
Tom Sepez 2016/03/29 16:45:31 nit: initializer list
dsinclair 2016/03/29 19:22:24 Done.
24 m_dwStyleExes = 0;
25 m_dwStates = 0;
26 m_pParent = NULL;
Tom Sepez 2016/03/29 16:45:31 nit: nullptr
dsinclair 2016/03/29 19:22:24 Done.
27 m_pOwner = NULL;
28 }
29
30 CFWL_WidgetImpProperties MakeWidgetImpProperties(
31 IFWL_DataProvider* pDataProvider) const;
32
33 CFX_WideString m_wsWindowclass;
34 CFX_Matrix m_ctmOnParent;
35 CFX_RectF m_rtWidget;
36 uint32_t m_dwStyles;
37 uint32_t m_dwStyleExes;
38 uint32_t m_dwStates;
39 CFWL_Widget* m_pParent;
40 CFWL_Widget* m_pOwner;
41 };
42
43 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGETPROPERTIES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698