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

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

Issue 2559173002: Move xfa/fwl/core to xfa/fwl. (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/fde/cfde_txtedtdorecord_insert.cpp ('k') | xfa/fwl/cfwl_app.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 <algorithm> 9 #include <algorithm>
10 10
11 #include "third_party/base/ptr_util.h" 11 #include "third_party/base/ptr_util.h"
12 #include "xfa/fde/cfde_txtedtbuf.h" 12 #include "xfa/fde/cfde_txtedtbuf.h"
13 #include "xfa/fde/cfde_txtedtbufiter.h" 13 #include "xfa/fde/cfde_txtedtbufiter.h"
14 #include "xfa/fde/cfde_txtedtdorecord_deleterange.h" 14 #include "xfa/fde/cfde_txtedtdorecord_deleterange.h"
15 #include "xfa/fde/cfde_txtedtdorecord_insert.h" 15 #include "xfa/fde/cfde_txtedtdorecord_insert.h"
16 #include "xfa/fde/cfde_txtedtpage.h" 16 #include "xfa/fde/cfde_txtedtpage.h"
17 #include "xfa/fde/cfde_txtedtparag.h" 17 #include "xfa/fde/cfde_txtedtparag.h"
18 #include "xfa/fde/ifx_chariter.h" 18 #include "xfa/fde/ifx_chariter.h"
19 #include "xfa/fde/tto/fde_textout.h" 19 #include "xfa/fde/tto/fde_textout.h"
20 #include "xfa/fgas/layout/fgas_textbreak.h" 20 #include "xfa/fgas/layout/fgas_textbreak.h"
21 #include "xfa/fwl/core/cfwl_edit.h" 21 #include "xfa/fwl/cfwl_edit.h"
22 22
23 namespace { 23 namespace {
24 24
25 const uint32_t kPageWidthMax = 0xffff; 25 const uint32_t kPageWidthMax = 0xffff;
26 const uint32_t kUnicodeParagraphSeparator = 0x2029; 26 const uint32_t kUnicodeParagraphSeparator = 0x2029;
27 27
28 } // namespace 28 } // namespace
29 29
30 FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS() 30 FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS()
31 : fPlateWidth(0), 31 : fPlateWidth(0),
(...skipping 1578 matching lines...) Expand 10 before | Expand all | Expand 10 after
1610 m_SelRangePtrArr.RemoveAt(nCountRange); 1610 m_SelRangePtrArr.RemoveAt(nCountRange);
1611 DeleteRange_DoRecord(nSelStart, nSelCount, true); 1611 DeleteRange_DoRecord(nSelStart, nSelCount, true);
1612 } 1612 }
1613 ClearSelection(); 1613 ClearSelection();
1614 m_Param.pEventSink->OnTextChanged(m_ChangeInfo); 1614 m_Param.pEventSink->OnTextChanged(m_ChangeInfo);
1615 m_Param.pEventSink->OnSelChanged(); 1615 m_Param.pEventSink->OnSelChanged();
1616 SetCaretPos(nSelStart, true); 1616 SetCaretPos(nSelStart, true);
1617 return; 1617 return;
1618 } 1618 }
1619 } 1619 }
OLDNEW
« no previous file with comments | « xfa/fde/cfde_txtedtdorecord_insert.cpp ('k') | xfa/fwl/cfwl_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698