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

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

Issue 1411423002: Merge to XFA: Remove dead code that was reactivated when fixing overrides. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: fix up mismatches, round 2 Created 5 years, 2 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/src/formfiller/FFL_ComboBox.cpp ('k') | fpdfsdk/src/formfiller/FFL_IFormFiller.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/formfiller/FFL_FormFiller.h" 7 #include "../../include/formfiller/FFL_FormFiller.h"
8 #include "../../include/formfiller/FFL_Notify.h" 8 #include "../../include/formfiller/FFL_Notify.h"
9 #include "../../include/formfiller/FFL_CBA_Fontmap.h" 9 #include "../../include/formfiller/FFL_CBA_Fontmap.h"
10 10
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 FX_BOOL bRestoreValue) { 595 FX_BOOL bRestoreValue) {
596 return GetPDFWindow(pPageView, FALSE); 596 return GetPDFWindow(pPageView, FALSE);
597 } 597 }
598 598
599 void CFFL_FormFiller::TimerProc() {} 599 void CFFL_FormFiller::TimerProc() {}
600 600
601 IFX_SystemHandler* CFFL_FormFiller::GetSystemHandler() const { 601 IFX_SystemHandler* CFFL_FormFiller::GetSystemHandler() const {
602 return m_pApp->GetSysHandler(); 602 return m_pApp->GetSysHandler();
603 } 603 }
604 604
605 void CFFL_FormFiller::OnKeyStroke(FX_BOOL bKeyDown, FX_DWORD nFlag) {}
606
607 void CFFL_FormFiller::EscapeFiller(CPDFSDK_PageView* pPageView, 605 void CFFL_FormFiller::EscapeFiller(CPDFSDK_PageView* pPageView,
608 FX_BOOL bDestroyPDFWindow) { 606 FX_BOOL bDestroyPDFWindow) {
609 m_bValid = FALSE; 607 m_bValid = FALSE;
610 608
611 FX_RECT rcRect = GetViewBBox(pPageView, m_pWidget); 609 FX_RECT rcRect = GetViewBBox(pPageView, m_pWidget);
612 InvalidateRect(rcRect.left, rcRect.top, rcRect.right, rcRect.bottom); 610 InvalidateRect(rcRect.left, rcRect.top, rcRect.right, rcRect.bottom);
613 611
614 if (bDestroyPDFWindow) 612 if (bDestroyPDFWindow)
615 DestroyPDFWindow(pPageView); 613 DestroyPDFWindow(pPageView);
616 } 614 }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL); 716 pWidget->DrawAppearance(pDevice, pUser2Device, CPDF_Annot::Normal, NULL);
719 } 717 }
720 718
721 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView* pPageView, 719 void CFFL_Button::OnDrawDeactive(CPDFSDK_PageView* pPageView,
722 CPDFSDK_Annot* pAnnot, 720 CPDFSDK_Annot* pAnnot,
723 CFX_RenderDevice* pDevice, 721 CFX_RenderDevice* pDevice,
724 CPDF_Matrix* pUser2Device, 722 CPDF_Matrix* pUser2Device,
725 FX_DWORD dwFlags) { 723 FX_DWORD dwFlags) {
726 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); 724 OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
727 } 725 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/formfiller/FFL_ComboBox.cpp ('k') | fpdfsdk/src/formfiller/FFL_IFormFiller.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698