diff options
author | Lei Zhang <thestig@chromium.org> | 2015-08-10 00:06:39 -0700 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-08-10 00:06:39 -0700 |
commit | 3a3849176aa6e2db8baf2f9367b2d96c71815319 (patch) | |
tree | c5dee239777c9015710159ba5aee46f0d81b424c /fpdfsdk/include/fsdk_baseform.h | |
parent | 48f1947602817a3b5331b6504518e846addfbd71 (diff) | |
download | pdfium-3a3849176aa6e2db8baf2f9367b2d96c71815319.tar.xz |
Cleanup: Mark methods with the override keyword.chromium/2483chromium/2482chromium/2481chromium/2480chromium/2479
- Delete unneeded CFFL_ComboBox::CanCopy() and friends.
- Delete unneeded CFFL_FormFiller::CanCopy() and friends.
- Delete unneeded CFFL_TextField::CanCopy() and friends.
- Delete unneeded FormFiller::DoCopy() and friends.
- Rename CFFL_FormFiller::On{Set,Kill}Focus to avoid conflicts.
BUG=pdfium:185
R=thakis@chromium.org
Review URL: https://codereview.chromium.org/1283493004 .
Diffstat (limited to 'fpdfsdk/include/fsdk_baseform.h')
-rw-r--r-- | fpdfsdk/include/fsdk_baseform.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/fpdfsdk/include/fsdk_baseform.h b/fpdfsdk/include/fsdk_baseform.h index 7b69e5d7fa..bb3e7cd653 100644 --- a/fpdfsdk/include/fsdk_baseform.h +++ b/fpdfsdk/include/fsdk_baseform.h @@ -231,18 +231,19 @@ class CPDFSDK_InterForm : public CPDF_FormNotify { CFX_WideString GetTemporaryFileName(const CFX_WideString& sFileExt); private: - virtual int BeforeValueChange(const CPDF_FormField* pField, - CFX_WideString& csValue); - virtual int AfterValueChange(const CPDF_FormField* pField); - virtual int BeforeSelectionChange(const CPDF_FormField* pField, - CFX_WideString& csValue); - virtual int AfterSelectionChange(const CPDF_FormField* pField); - virtual int AfterCheckedStatusChange(const CPDF_FormField* pField, - const CFX_ByteArray& statusArray); - virtual int BeforeFormReset(const CPDF_InterForm* pForm); - virtual int AfterFormReset(const CPDF_InterForm* pForm); - virtual int BeforeFormImportData(const CPDF_InterForm* pForm); - virtual int AfterFormImportData(const CPDF_InterForm* pForm); + // CPDF_FormNotify + int BeforeValueChange(const CPDF_FormField* pField, + CFX_WideString& csValue) override; + int AfterValueChange(const CPDF_FormField* pField) override; + int BeforeSelectionChange(const CPDF_FormField* pField, + CFX_WideString& csValue) override; + int AfterSelectionChange(const CPDF_FormField* pField) override; + int AfterCheckedStatusChange(const CPDF_FormField* pField, + const CFX_ByteArray& statusArray) override; + int BeforeFormReset(const CPDF_InterForm* pForm) override; + int AfterFormReset(const CPDF_InterForm* pForm) override; + int BeforeFormImportData(const CPDF_InterForm* pForm) override; + int AfterFormImportData(const CPDF_InterForm* pForm) override; FX_BOOL FDFToURLEncodedData(CFX_WideString csFDFFile, CFX_WideString csTxtFile); |