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

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

Issue 2510823003: Move the message definitions to their own files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month 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_datetimepicker.cpp ('k') | xfa/fwl/core/ifwl_form.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_edit.h" 7 #include "xfa/fwl/core/ifwl_edit.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "third_party/base/ptr_util.h" 13 #include "third_party/base/ptr_util.h"
14 #include "third_party/base/stl_util.h" 14 #include "third_party/base/stl_util.h"
15 #include "xfa/fde/cfde_txtedtengine.h" 15 #include "xfa/fde/cfde_txtedtengine.h"
16 #include "xfa/fde/fde_gedevice.h" 16 #include "xfa/fde/fde_gedevice.h"
17 #include "xfa/fde/fde_render.h" 17 #include "xfa/fde/fde_render.h"
18 #include "xfa/fde/ifde_txtedtpage.h" 18 #include "xfa/fde/ifde_txtedtpage.h"
19 #include "xfa/fgas/font/fgas_gefont.h" 19 #include "xfa/fgas/font/fgas_gefont.h"
20 #include "xfa/fwl/core/cfwl_message.h" 20 #include "xfa/fwl/core/cfwl_msgkey.h"
21 #include "xfa/fwl/core/cfwl_msgmouse.h"
21 #include "xfa/fwl/core/cfwl_themebackground.h" 22 #include "xfa/fwl/core/cfwl_themebackground.h"
22 #include "xfa/fwl/core/cfwl_themepart.h" 23 #include "xfa/fwl/core/cfwl_themepart.h"
23 #include "xfa/fwl/core/cfwl_widgetmgr.h" 24 #include "xfa/fwl/core/cfwl_widgetmgr.h"
24 #include "xfa/fwl/core/ifwl_app.h" 25 #include "xfa/fwl/core/ifwl_app.h"
25 #include "xfa/fwl/core/ifwl_caret.h" 26 #include "xfa/fwl/core/ifwl_caret.h"
26 #include "xfa/fwl/core/ifwl_themeprovider.h" 27 #include "xfa/fwl/core/ifwl_themeprovider.h"
27 #include "xfa/fxfa/xfa_ffdoc.h" 28 #include "xfa/fxfa/xfa_ffdoc.h"
28 #include "xfa/fxfa/xfa_ffwidget.h" 29 #include "xfa/fxfa/xfa_ffwidget.h"
29 #include "xfa/fxgraphics/cfx_path.h" 30 #include "xfa/fxgraphics/cfx_path.h"
30 31
(...skipping 1684 matching lines...) Expand 10 before | Expand all | Expand 10 after
1715 UpdateOffset(pScrollBar, fPos - iCurPos); 1716 UpdateOffset(pScrollBar, fPos - iCurPos);
1716 UpdateCaret(); 1717 UpdateCaret();
1717 1718
1718 CFX_RectF rect; 1719 CFX_RectF rect;
1719 GetWidgetRect(rect); 1720 GetWidgetRect(rect);
1720 CFX_RectF rtInvalidate; 1721 CFX_RectF rtInvalidate;
1721 rtInvalidate.Set(0, 0, rect.width + 2, rect.height + 2); 1722 rtInvalidate.Set(0, 0, rect.width + 2, rect.height + 2);
1722 Repaint(&rtInvalidate); 1723 Repaint(&rtInvalidate);
1723 return true; 1724 return true;
1724 } 1725 }
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_datetimepicker.cpp ('k') | xfa/fwl/core/ifwl_form.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698