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

Side by Side Diff: fpdfsdk/src/formfiller/FFL_TextField.cpp

Issue 1542373002: Fix a bad virtual keyword removal from commit 0f6b51c. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 12 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
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/include/formfiller/FFL_CBA_Fontmap.h" 7 #include "fpdfsdk/include/formfiller/FFL_CBA_Fontmap.h"
8 #include "fpdfsdk/include/formfiller/FFL_TextField.h" 8 #include "fpdfsdk/include/formfiller/FFL_TextField.h"
9 9
10 /* ------------------------------- CFFL_TextField 10 /* ------------------------------- CFFL_TextField
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 case BF_ALIGN_MIDDLE: 63 case BF_ALIGN_MIDDLE:
64 cp.dwFlags |= PES_MIDDLE; 64 cp.dwFlags |= PES_MIDDLE;
65 break; 65 break;
66 case BF_ALIGN_RIGHT: 66 case BF_ALIGN_RIGHT:
67 cp.dwFlags |= PES_RIGHT; 67 cp.dwFlags |= PES_RIGHT;
68 break; 68 break;
69 } 69 }
70 70
71 if (!m_pFontMap) { 71 if (!m_pFontMap) {
72 m_pFontMap = new CBA_FontMap(m_pWidget, m_pApp->GetSysHandler()); 72 m_pFontMap = new CBA_FontMap(m_pWidget, m_pApp->GetSysHandler());
73 m_pFontMap->Initial(); 73 m_pFontMap->Initialize();
74 } 74 }
75 cp.pFontMap = m_pFontMap; 75 cp.pFontMap = m_pFontMap;
76 cp.pFocusHandler = this; 76 cp.pFocusHandler = this;
77 77
78 return cp; 78 return cp;
79 } 79 }
80 80
81 CPWL_Wnd* CFFL_TextField::NewPDFWindow(const PWL_CREATEPARAM& cp, 81 CPWL_Wnd* CFFL_TextField::NewPDFWindow(const PWL_CREATEPARAM& cp,
82 CPDFSDK_PageView* pPageView) { 82 CPDFSDK_PageView* pPageView) {
83 CPWL_Edit* pWnd = new CPWL_Edit(); 83 CPWL_Edit* pWnd = new CPWL_Edit();
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 m_pApp->FFI_OnSetFieldInputFocus(m_pWidget->GetFormField(), pBuffer, 272 m_pApp->FFI_OnSetFieldInputFocus(m_pWidget->GetFormField(), pBuffer,
273 nCharacters, TRUE); 273 nCharacters, TRUE);
274 274
275 pEdit->SetEditNotify(this); 275 pEdit->SetEditNotify(this);
276 } 276 }
277 } 277 }
278 278
279 void CFFL_TextField::OnKillFocus(CPWL_Wnd* pWnd) {} 279 void CFFL_TextField::OnKillFocus(CPWL_Wnd* pWnd) {}
280 280
281 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) {} 281 void CFFL_TextField::OnAddUndo(CPWL_Edit* pEdit) {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698