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

Side by Side Diff: fpdfsdk/formfiller/cffl_listbox.cpp

Issue 2343693002: Replace FX_UINT with unsigned int (Closed)
Patch Set: Remove #s Created 4 years, 3 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 | « fpdfsdk/formfiller/cffl_listbox.h ('k') | fpdfsdk/formfiller/cffl_pushbutton.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 "fpdfsdk/formfiller/cffl_listbox.h" 7 #include "fpdfsdk/formfiller/cffl_listbox.h"
8 8
9 #include "fpdfsdk/formfiller/cba_fontmap.h" 9 #include "fpdfsdk/formfiller/cba_fontmap.h"
10 #include "fpdfsdk/formfiller/cffl_formfiller.h" 10 #include "fpdfsdk/formfiller/cffl_formfiller.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 } 76 }
77 } 77 }
78 } 78 }
79 79
80 pWnd->SetTopVisibleIndex(m_pWidget->GetTopVisibleIndex()); 80 pWnd->SetTopVisibleIndex(m_pWidget->GetTopVisibleIndex());
81 81
82 return pWnd; 82 return pWnd;
83 } 83 }
84 84
85 FX_BOOL CFFL_ListBox::OnChar(CPDFSDK_Annot* pAnnot, 85 FX_BOOL CFFL_ListBox::OnChar(CPDFSDK_Annot* pAnnot,
86 FX_UINT nChar, 86 uint32_t nChar,
87 FX_UINT nFlags) { 87 uint32_t nFlags) {
88 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); 88 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags);
89 } 89 }
90 90
91 FX_BOOL CFFL_ListBox::IsDataChanged(CPDFSDK_PageView* pPageView) { 91 FX_BOOL CFFL_ListBox::IsDataChanged(CPDFSDK_PageView* pPageView) {
92 CPWL_ListBox* pListBox = (CPWL_ListBox*)GetPDFWindow(pPageView, FALSE); 92 CPWL_ListBox* pListBox = (CPWL_ListBox*)GetPDFWindow(pPageView, FALSE);
93 if (!pListBox) 93 if (!pListBox)
94 return FALSE; 94 return FALSE;
95 95
96 if (m_pWidget->GetFieldFlags() & FIELDFLAG_MULTISELECT) { 96 if (m_pWidget->GetFieldFlags() & FIELDFLAG_MULTISELECT) {
97 size_t nSelCount = 0; 97 size_t nSelCount = 0;
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 RestoreState(pPageView); 198 RestoreState(pPageView);
199 pRet = GetPDFWindow(pPageView, FALSE); 199 pRet = GetPDFWindow(pPageView, FALSE);
200 } else { 200 } else {
201 pRet = GetPDFWindow(pPageView, TRUE); 201 pRet = GetPDFWindow(pPageView, TRUE);
202 } 202 }
203 203
204 m_pWidget->UpdateField(); 204 m_pWidget->UpdateField();
205 205
206 return pRet; 206 return pRet;
207 } 207 }
OLDNEW
« no previous file with comments | « fpdfsdk/formfiller/cffl_listbox.h ('k') | fpdfsdk/formfiller/cffl_pushbutton.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698