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

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

Issue 2032613003: Get rid of NULLs in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Fix a bad merge 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/basewidget/fwl_datetimepickerimp.cpp ('k') | xfa/fwl/core/ifwl_widget.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 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 #include "xfa/fwl/core/fwl_widgetimp.h" 7 #include "xfa/fwl/core/fwl_widgetimp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "xfa/fde/tto/fde_textout.h" 11 #include "xfa/fde/tto/fde_textout.h"
12 #include "xfa/fwl/basewidget/ifwl_combobox.h" 12 #include "xfa/fwl/basewidget/ifwl_combobox.h"
13 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h" 13 #include "xfa/fwl/basewidget/ifwl_datetimepicker.h"
14 #include "xfa/fwl/core/cfwl_message.h" 14 #include "xfa/fwl/core/cfwl_message.h"
15 #include "xfa/fwl/core/cfwl_themebackground.h" 15 #include "xfa/fwl/core/cfwl_themebackground.h"
16 #include "xfa/fwl/core/cfwl_themepart.h" 16 #include "xfa/fwl/core/cfwl_themepart.h"
17 #include "xfa/fwl/core/cfwl_themetext.h" 17 #include "xfa/fwl/core/cfwl_themetext.h"
18 #include "xfa/fwl/core/cfwl_widgetmgr.h" 18 #include "xfa/fwl/core/cfwl_widgetmgr.h"
19 #include "xfa/fwl/core/fwl_appimp.h" 19 #include "xfa/fwl/core/fwl_appimp.h"
20 #include "xfa/fwl/core/fwl_noteimp.h" 20 #include "xfa/fwl/core/fwl_noteimp.h"
21 #include "xfa/fwl/core/ifwl_app.h" 21 #include "xfa/fwl/core/ifwl_app.h"
22 #include "xfa/fwl/core/ifwl_form.h" 22 #include "xfa/fwl/core/ifwl_form.h"
23 #include "xfa/fwl/core/ifwl_themeprovider.h" 23 #include "xfa/fwl/core/ifwl_themeprovider.h"
24 #include "xfa/fxfa/include/xfa_ffapp.h" 24 #include "xfa/fxfa/include/xfa_ffapp.h"
25 25
26 #define FWL_STYLEEXT_MNU_Vert (1L << 0) 26 #define FWL_STYLEEXT_MNU_Vert (1L << 0)
27 27
28 IFWL_Widget::IFWL_Widget() {}
29
28 IFWL_Widget::~IFWL_Widget() {} 30 IFWL_Widget::~IFWL_Widget() {}
29 31
30 FWL_Error IFWL_Widget::GetClassName(CFX_WideString& wsClass) const { 32 FWL_Error IFWL_Widget::GetClassName(CFX_WideString& wsClass) const {
31 return m_pImpl->GetClassName(wsClass); 33 return m_pImpl->GetClassName(wsClass);
32 } 34 }
33 35
34 FWL_Type IFWL_Widget::GetClassID() const { 36 FWL_Type IFWL_Widget::GetClassID() const {
35 return m_pImpl->GetClassID(); 37 return m_pImpl->GetClassID();
36 } 38 }
37 39
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 } 1043 }
1042 } 1044 }
1043 1045
1044 void CFWL_WidgetImpDelegate::OnProcessEvent(CFWL_Event* pEvent) {} 1046 void CFWL_WidgetImpDelegate::OnProcessEvent(CFWL_Event* pEvent) {}
1045 1047
1046 void CFWL_WidgetImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics, 1048 void CFWL_WidgetImpDelegate::OnDrawWidget(CFX_Graphics* pGraphics,
1047 const CFX_Matrix* pMatrix) { 1049 const CFX_Matrix* pMatrix) {
1048 CFWL_EvtDraw evt; 1050 CFWL_EvtDraw evt;
1049 evt.m_pGraphics = pGraphics; 1051 evt.m_pGraphics = pGraphics;
1050 } 1052 }
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_datetimepickerimp.cpp ('k') | xfa/fwl/core/ifwl_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698