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

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

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_widgetproperties.h ('k') | xfa/fwl/core/ifwl_barcode.h » ('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 #include "xfa/fwl/core/cfwl_widgetproperties.h" 7 #include "xfa/fwl/core/cfwl_widgetproperties.h"
8 8
9 CFWL_WidgetProperties::CFWL_WidgetProperties() 9 CFWL_WidgetProperties::CFWL_WidgetProperties()
10 : CFWL_WidgetProperties(nullptr) {}
11
12 CFWL_WidgetProperties::CFWL_WidgetProperties(
13 IFWL_Widget::DataProvider* dataProvider)
14 : m_dwStyles(FWL_WGTSTYLE_Child), 10 : m_dwStyles(FWL_WGTSTYLE_Child),
15 m_dwStyleExes(0), 11 m_dwStyleExes(0),
16 m_dwStates(0), 12 m_dwStates(0),
17 m_pThemeProvider(nullptr), 13 m_pThemeProvider(nullptr),
18 m_pDataProvider(dataProvider),
19 m_pParent(nullptr), 14 m_pParent(nullptr),
20 m_pOwner(nullptr) { 15 m_pOwner(nullptr) {
21 m_rtWidget.Set(0, 0, 0, 0); 16 m_rtWidget.Set(0, 0, 0, 0);
22 } 17 }
23 18
24 CFWL_WidgetProperties::~CFWL_WidgetProperties() {} 19 CFWL_WidgetProperties::~CFWL_WidgetProperties() {}
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_widgetproperties.h ('k') | xfa/fwl/core/ifwl_barcode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698