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

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

Issue 2525083002: Rename IFWL classes which do not have CFWL equivalents (Closed)
Patch Set: 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/ifwl_spinbutton.cpp ('k') | xfa/fwl/theme/cfwl_carettp.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 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/ifwl_widget.h" 7 #include "xfa/fwl/core/ifwl_widget.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <utility> 10 #include <utility>
11 11
12 #include "xfa/fde/tto/fde_textout.h" 12 #include "xfa/fde/tto/fde_textout.h"
13 #include "xfa/fwl/core/cfwl_app.h" 13 #include "xfa/fwl/core/cfwl_app.h"
14 #include "xfa/fwl/core/cfwl_evtkey.h" 14 #include "xfa/fwl/core/cfwl_evtkey.h"
15 #include "xfa/fwl/core/cfwl_evtkillfocus.h" 15 #include "xfa/fwl/core/cfwl_evtkillfocus.h"
16 #include "xfa/fwl/core/cfwl_evtmouse.h" 16 #include "xfa/fwl/core/cfwl_evtmouse.h"
17 #include "xfa/fwl/core/cfwl_evtmousewheel.h" 17 #include "xfa/fwl/core/cfwl_evtmousewheel.h"
18 #include "xfa/fwl/core/cfwl_evtsetfocus.h" 18 #include "xfa/fwl/core/cfwl_evtsetfocus.h"
19 #include "xfa/fwl/core/cfwl_evtsizechanged.h" 19 #include "xfa/fwl/core/cfwl_evtsizechanged.h"
20 #include "xfa/fwl/core/cfwl_form.h"
20 #include "xfa/fwl/core/cfwl_msgkey.h" 21 #include "xfa/fwl/core/cfwl_msgkey.h"
21 #include "xfa/fwl/core/cfwl_msgkillfocus.h" 22 #include "xfa/fwl/core/cfwl_msgkillfocus.h"
22 #include "xfa/fwl/core/cfwl_msgmouse.h" 23 #include "xfa/fwl/core/cfwl_msgmouse.h"
23 #include "xfa/fwl/core/cfwl_msgmousewheel.h" 24 #include "xfa/fwl/core/cfwl_msgmousewheel.h"
24 #include "xfa/fwl/core/cfwl_msgsetfocus.h" 25 #include "xfa/fwl/core/cfwl_msgsetfocus.h"
25 #include "xfa/fwl/core/cfwl_notedriver.h" 26 #include "xfa/fwl/core/cfwl_notedriver.h"
26 #include "xfa/fwl/core/cfwl_themebackground.h" 27 #include "xfa/fwl/core/cfwl_themebackground.h"
27 #include "xfa/fwl/core/cfwl_themepart.h" 28 #include "xfa/fwl/core/cfwl_themepart.h"
28 #include "xfa/fwl/core/cfwl_themetext.h" 29 #include "xfa/fwl/core/cfwl_themetext.h"
29 #include "xfa/fwl/core/cfwl_widgetmgr.h" 30 #include "xfa/fwl/core/cfwl_widgetmgr.h"
30 #include "xfa/fwl/core/ifwl_combobox.h" 31 #include "xfa/fwl/core/ifwl_combobox.h"
31 #include "xfa/fwl/core/ifwl_form.h"
32 #include "xfa/fwl/core/ifwl_themeprovider.h" 32 #include "xfa/fwl/core/ifwl_themeprovider.h"
33 #include "xfa/fxfa/xfa_ffapp.h" 33 #include "xfa/fxfa/xfa_ffapp.h"
34 34
35 #define FWL_STYLEEXT_MNU_Vert (1L << 0) 35 #define FWL_STYLEEXT_MNU_Vert (1L << 0)
36 #define FWL_WGT_CalcHeight 2048 36 #define FWL_WGT_CalcHeight 2048
37 #define FWL_WGT_CalcWidth 2048 37 #define FWL_WGT_CalcWidth 2048
38 #define FWL_WGT_CalcMultiLineDefWidth 120.0f 38 #define FWL_WGT_CalcMultiLineDefWidth 120.0f
39 39
40 IFWL_Widget::IFWL_Widget(const CFWL_App* app, 40 IFWL_Widget::IFWL_Widget(const CFWL_App* app,
41 std::unique_ptr<CFWL_WidgetProperties> properties, 41 std::unique_ptr<CFWL_WidgetProperties> properties,
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 } 794 }
795 default: 795 default:
796 break; 796 break;
797 } 797 }
798 } 798 }
799 799
800 void IFWL_Widget::OnProcessEvent(CFWL_Event* pEvent) {} 800 void IFWL_Widget::OnProcessEvent(CFWL_Event* pEvent) {}
801 801
802 void IFWL_Widget::OnDrawWidget(CFX_Graphics* pGraphics, 802 void IFWL_Widget::OnDrawWidget(CFX_Graphics* pGraphics,
803 const CFX_Matrix* pMatrix) {} 803 const CFX_Matrix* pMatrix) {}
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_spinbutton.cpp ('k') | xfa/fwl/theme/cfwl_carettp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698