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

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

Issue 2524173002: Merge IFWL and CFWL classes. (Closed)
Patch Set: make chrome build happy 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
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 "xfa/fde/cfde_txtedtbuf.h" 11 #include "xfa/fde/cfde_txtedtbuf.h"
12 #include "xfa/fde/cfde_txtedtbufiter.h" 12 #include "xfa/fde/cfde_txtedtbufiter.h"
13 #include "xfa/fde/cfde_txtedtdorecord_deleterange.h" 13 #include "xfa/fde/cfde_txtedtdorecord_deleterange.h"
14 #include "xfa/fde/cfde_txtedtdorecord_insert.h" 14 #include "xfa/fde/cfde_txtedtdorecord_insert.h"
15 #include "xfa/fde/cfde_txtedtpage.h" 15 #include "xfa/fde/cfde_txtedtpage.h"
16 #include "xfa/fde/cfde_txtedtparag.h" 16 #include "xfa/fde/cfde_txtedtparag.h"
17 #include "xfa/fde/ifx_chariter.h" 17 #include "xfa/fde/ifx_chariter.h"
18 #include "xfa/fde/tto/fde_textout.h" 18 #include "xfa/fde/tto/fde_textout.h"
19 #include "xfa/fgas/layout/fgas_textbreak.h" 19 #include "xfa/fgas/layout/fgas_textbreak.h"
20 #include "xfa/fwl/core/ifwl_edit.h" 20 #include "xfa/fwl/core/cfwl_edit.h"
21 21
22 namespace { 22 namespace {
23 23
24 const uint32_t kPageWidthMax = 0xffff; 24 const uint32_t kPageWidthMax = 0xffff;
25 const uint32_t kUnicodeParagraphSeparator = 0x2029; 25 const uint32_t kUnicodeParagraphSeparator = 0x2029;
26 26
27 } // namespace 27 } // namespace
28 28
29 FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS() 29 FDE_TXTEDTPARAMS::FDE_TXTEDTPARAMS()
30 : fPlateWidth(0), 30 : fPlateWidth(0),
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1624 m_SelRangePtrArr.RemoveAt(nCountRange); 1624 m_SelRangePtrArr.RemoveAt(nCountRange);
1625 DeleteRange_DoRecord(nSelStart, nSelCount, true); 1625 DeleteRange_DoRecord(nSelStart, nSelCount, true);
1626 } 1626 }
1627 ClearSelection(); 1627 ClearSelection();
1628 m_Param.pEventSink->On_TextChanged(this, m_ChangeInfo); 1628 m_Param.pEventSink->On_TextChanged(this, m_ChangeInfo);
1629 m_Param.pEventSink->On_SelChanged(this); 1629 m_Param.pEventSink->On_SelChanged(this);
1630 SetCaretPos(nSelStart, true); 1630 SetCaretPos(nSelStart, true);
1631 return; 1631 return;
1632 } 1632 }
1633 } 1633 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698