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: fpdfsdk/src/fxedit/fxet_list.cpp

Issue 1439223003: Merge to XFA: Remove relative includes. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix merge Created 5 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 | « fpdfsdk/src/fxedit/fxet_edit.cpp ('k') | fpdfsdk/src/fxedit/fxet_module.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 "../../include/fxedit/fxet_stub.h" 7 #include "fpdfsdk/include/fxedit/fxet_edit.h"
8 #include "../../include/fxedit/fxet_edit.h" 8 #include "fpdfsdk/include/fxedit/fxet_list.h"
9 #include "../../include/fxedit/fxet_list.h" 9 #include "fpdfsdk/include/fxedit/fxet_stub.h"
10 10
11 /* ------------------------------- CFX_ListItem 11 /* ------------------------------- CFX_ListItem
12 * ---------------------------------- */ 12 * ---------------------------------- */
13 13
14 CFX_ListItem::CFX_ListItem() 14 CFX_ListItem::CFX_ListItem()
15 : m_pEdit(NULL), 15 : m_pEdit(NULL),
16 m_bSelected(FALSE), 16 m_bSelected(FALSE),
17 m_bCaret(FALSE), 17 m_bCaret(FALSE),
18 m_rcListItem(0.0f, 0.0f, 0.0f, 0.0f) { 18 m_rcListItem(0.0f, 0.0f, 0.0f, 0.0f) {
19 m_pEdit = IFX_Edit::NewEdit(); 19 m_pEdit = IFX_Edit::NewEdit();
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 826
827 int32_t CFX_ListCtrl::GetItemIndex(const CPDF_Point& point) const { 827 int32_t CFX_ListCtrl::GetItemIndex(const CPDF_Point& point) const {
828 return CFX_List::GetItemIndex(OutToIn(point)); 828 return CFX_List::GetItemIndex(OutToIn(point));
829 } 829 }
830 830
831 CFX_WideString CFX_ListCtrl::GetText() const { 831 CFX_WideString CFX_ListCtrl::GetText() const {
832 if (IsMultipleSel()) 832 if (IsMultipleSel())
833 return GetItemText(m_nCaretIndex); 833 return GetItemText(m_nCaretIndex);
834 return GetItemText(m_nSelItem); 834 return GetItemText(m_nSelItem);
835 } 835 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fxedit/fxet_edit.cpp ('k') | fpdfsdk/src/fxedit/fxet_module.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698