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

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

Issue 1722913002: Remove uses of this->foo. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 4 years, 9 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 | « core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp ('k') | fpdfsdk/src/fsdk_baseform.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 "fpdfsdk/include/formfiller/FFL_IFormFiller.h" 7 #include "fpdfsdk/include/formfiller/FFL_IFormFiller.h"
8 8
9 #include "fpdfsdk/include/formfiller/FFL_CheckBox.h" 9 #include "fpdfsdk/include/formfiller/FFL_CheckBox.h"
10 #include "fpdfsdk/include/formfiller/FFL_ComboBox.h" 10 #include "fpdfsdk/include/formfiller/FFL_ComboBox.h"
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 814
815 void CFFL_IFormFiller::OnPopupPreOpen(void* pPrivateData, 815 void CFFL_IFormFiller::OnPopupPreOpen(void* pPrivateData,
816 FX_BOOL& bExit, 816 FX_BOOL& bExit,
817 FX_DWORD nFlag) { 817 FX_DWORD nFlag) {
818 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; 818 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData;
819 ASSERT(pData); 819 ASSERT(pData);
820 ASSERT(pData->pWidget); 820 ASSERT(pData->pWidget);
821 821
822 FX_BOOL bTempReset = FALSE; 822 FX_BOOL bTempReset = FALSE;
823 FX_BOOL bTempExit = FALSE; 823 FX_BOOL bTempExit = FALSE;
824 this->OnPreOpen(pData->pWidget, pData->pPageView, bTempReset, bTempExit, 824 OnPreOpen(pData->pWidget, pData->pPageView, bTempReset, bTempExit, nFlag);
825 nFlag);
826 825
827 if (bTempReset || bTempExit) { 826 if (bTempReset || bTempExit) {
828 bExit = TRUE; 827 bExit = TRUE;
829 } 828 }
830 } 829 }
831 830
832 void CFFL_IFormFiller::OnPopupPostOpen(void* pPrivateData, 831 void CFFL_IFormFiller::OnPopupPostOpen(void* pPrivateData,
833 FX_BOOL& bExit, 832 FX_BOOL& bExit,
834 FX_DWORD nFlag) { 833 FX_DWORD nFlag) {
835 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData; 834 CFFL_PrivateData* pData = (CFFL_PrivateData*)pPrivateData;
836 ASSERT(pData); 835 ASSERT(pData);
837 ASSERT(pData->pWidget); 836 ASSERT(pData->pWidget);
838 837
839 FX_BOOL bTempReset = FALSE; 838 FX_BOOL bTempReset = FALSE;
840 FX_BOOL bTempExit = FALSE; 839 FX_BOOL bTempExit = FALSE;
841 this->OnPostOpen(pData->pWidget, pData->pPageView, bTempReset, bTempExit, 840 OnPostOpen(pData->pWidget, pData->pPageView, bTempReset, bTempExit, nFlag);
842 nFlag);
843 841
844 if (bTempReset || bTempExit) { 842 if (bTempReset || bTempExit) {
845 bExit = TRUE; 843 bExit = TRUE;
846 } 844 }
847 } 845 }
848 846
849 void CFFL_IFormFiller::OnPreOpen(CPDFSDK_Widget* pWidget, 847 void CFFL_IFormFiller::OnPreOpen(CPDFSDK_Widget* pWidget,
850 CPDFSDK_PageView* pPageView, 848 CPDFSDK_PageView* pPageView,
851 FX_BOOL& bReset, 849 FX_BOOL& bReset,
852 FX_BOOL& bExit, 850 FX_BOOL& bExit,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 bExit = TRUE; 1005 bExit = TRUE;
1008 m_bNotifying = FALSE; 1006 m_bNotifying = FALSE;
1009 return; 1007 return;
1010 } 1008 }
1011 } 1009 }
1012 1010
1013 m_bNotifying = FALSE; 1011 m_bNotifying = FALSE;
1014 } 1012 }
1015 } 1013 }
1016 } 1014 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp ('k') | fpdfsdk/src/fsdk_baseform.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698