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

Side by Side Diff: xfa/fde/cfde_txtedtengine.cpp

Issue 2432423002: Merge the CFWL_*Imp classes into the IFWL_* classes. (Closed)
Patch Set: Review feedback Created 4 years, 2 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/fde/cfde_txtedtdorecord_insert.cpp ('k') | xfa/fde/ifde_txtedtengine.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/fde/cfde_txtedtengine.h" 7 #include "xfa/fde/cfde_txtedtengine.h"
8 8
9 #include "xfa/fde/cfde_txtedtbuf.h" 9 #include "xfa/fde/cfde_txtedtbuf.h"
10 #include "xfa/fde/cfde_txtedtbufiter.h" 10 #include "xfa/fde/cfde_txtedtbufiter.h"
11 #include "xfa/fde/cfde_txtedtdorecord_deleterange.h" 11 #include "xfa/fde/cfde_txtedtdorecord_deleterange.h"
12 #include "xfa/fde/cfde_txtedtdorecord_insert.h" 12 #include "xfa/fde/cfde_txtedtdorecord_insert.h"
13 #include "xfa/fde/cfde_txtedtpage.h" 13 #include "xfa/fde/cfde_txtedtpage.h"
14 #include "xfa/fde/cfde_txtedtparag.h" 14 #include "xfa/fde/cfde_txtedtparag.h"
15 #include "xfa/fde/ifx_chariter.h" 15 #include "xfa/fde/ifx_chariter.h"
16 #include "xfa/fde/tto/fde_textout.h" 16 #include "xfa/fde/tto/fde_textout.h"
17 #include "xfa/fgas/layout/fgas_textbreak.h" 17 #include "xfa/fgas/layout/fgas_textbreak.h"
18 #include "xfa/fwl/basewidget/fwl_editimp.h" 18 #include "xfa/fwl/core/ifwl_edit.h"
19 19
20 namespace { 20 namespace {
21 21
22 const uint32_t kPageWidthMax = 0xffff; 22 const uint32_t kPageWidthMax = 0xffff;
23 const uint32_t kUnicodeParagraphSeparator = 0x2029; 23 const uint32_t kUnicodeParagraphSeparator = 0x2029;
24 24
25 } // namespace 25 } // namespace
26 26
27 FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS() 27 FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS()
28 : fPlateWidth(0), 28 : fPlateWidth(0),
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 m_SelRangePtrArr.RemoveAt(nCountRange); 1622 m_SelRangePtrArr.RemoveAt(nCountRange);
1623 DeleteRange_DoRecord(nSelStart, nSelCount, TRUE); 1623 DeleteRange_DoRecord(nSelStart, nSelCount, TRUE);
1624 } 1624 }
1625 ClearSelection(); 1625 ClearSelection();
1626 m_Param.pEventSink->On_TextChanged(this, m_ChangeInfo); 1626 m_Param.pEventSink->On_TextChanged(this, m_ChangeInfo);
1627 m_Param.pEventSink->On_SelChanged(this); 1627 m_Param.pEventSink->On_SelChanged(this);
1628 SetCaretPos(nSelStart, TRUE); 1628 SetCaretPos(nSelStart, TRUE);
1629 return; 1629 return;
1630 } 1630 }
1631 } 1631 }
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtdorecord_insert.cpp ('k') | xfa/fde/ifde_txtedtengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698