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

Side by Side Diff: xfa/fwl/basewidget/fwl_editimp.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 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_editimp.h ('k') | xfa/fwl/basewidget/fwl_formproxyimp.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/src/fwl/basewidget/fwl_editimp.h" 7 #include "xfa/fwl/basewidget/fwl_editimp.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <vector> 10 #include <vector>
11 11
12 #include "xfa/fde/fde_render.h"
13 #include "xfa/fde/fde_renderdevice.h"
14 #include "xfa/fee/ifde_txtedtpage.h"
15 #include "xfa/fwl/basewidget/fwl_caretimp.h"
16 #include "xfa/fwl/basewidget/fwl_comboboximp.h"
17 #include "xfa/fwl/basewidget/fwl_scrollbarimp.h"
18 #include "xfa/fwl/core/fwl_appimp.h"
19 #include "xfa/fwl/core/fwl_noteimp.h"
20 #include "xfa/fwl/core/fwl_targetimp.h"
21 #include "xfa/fwl/core/fwl_threadimp.h"
22 #include "xfa/fwl/core/fwl_widgetimp.h"
23 #include "xfa/fwl/core/fwl_widgetmgrimp.h"
12 #include "xfa/include/fwl/basewidget/fwl_caret.h" 24 #include "xfa/include/fwl/basewidget/fwl_caret.h"
13 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h" 25 #include "xfa/include/fwl/basewidget/fwl_datetimepicker.h"
14 #include "xfa/include/fwl/core/fwl_theme.h" 26 #include "xfa/include/fwl/core/fwl_theme.h"
15 #include "xfa/src/fde/fde_render.h"
16 #include "xfa/src/fde/fde_renderdevice.h"
17 #include "xfa/src/fee/ifde_txtedtpage.h"
18 #include "xfa/src/fwl/basewidget/fwl_caretimp.h"
19 #include "xfa/src/fwl/basewidget/fwl_comboboximp.h"
20 #include "xfa/src/fwl/basewidget/fwl_scrollbarimp.h"
21 #include "xfa/src/fwl/core/fwl_appimp.h"
22 #include "xfa/src/fwl/core/fwl_noteimp.h"
23 #include "xfa/src/fwl/core/fwl_targetimp.h"
24 #include "xfa/src/fwl/core/fwl_threadimp.h"
25 #include "xfa/src/fwl/core/fwl_widgetimp.h"
26 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h"
27 27
28 // static 28 // static
29 IFWL_Edit* IFWL_Edit::Create(const CFWL_WidgetImpProperties& properties, 29 IFWL_Edit* IFWL_Edit::Create(const CFWL_WidgetImpProperties& properties,
30 IFWL_Widget* pOuter) { 30 IFWL_Widget* pOuter) {
31 IFWL_Edit* pEdit = new IFWL_Edit; 31 IFWL_Edit* pEdit = new IFWL_Edit;
32 CFWL_EditImp* pEditImpl = new CFWL_EditImp(properties, pOuter); 32 CFWL_EditImp* pEditImpl = new CFWL_EditImp(properties, pOuter);
33 pEdit->SetImpl(pEditImpl); 33 pEdit->SetImpl(pEditImpl);
34 pEditImpl->SetInterface(pEdit); 34 pEditImpl->SetInterface(pEdit);
35 return pEdit; 35 return pEdit;
36 } 36 }
(...skipping 2106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2143 } 2143 }
2144 CFX_RectF rect; 2144 CFX_RectF rect;
2145 m_pOwner->GetWidgetRect(rect); 2145 m_pOwner->GetWidgetRect(rect);
2146 CFX_RectF rtInvalidate; 2146 CFX_RectF rtInvalidate;
2147 rtInvalidate.Set(0, 0, rect.width + 2, rect.height + 2); 2147 rtInvalidate.Set(0, 0, rect.width + 2, rect.height + 2);
2148 m_pOwner->Repaint(&rtInvalidate); 2148 m_pOwner->Repaint(&rtInvalidate);
2149 } 2149 }
2150 return TRUE; 2150 return TRUE;
2151 } 2151 }
2152 void CFWL_EditImpDelegate::DoCursor(CFWL_MsgMouse* pMsg) {} 2152 void CFWL_EditImpDelegate::DoCursor(CFWL_MsgMouse* pMsg) {}
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_editimp.h ('k') | xfa/fwl/basewidget/fwl_formproxyimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698