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

Unified Diff: core/fpdfdoc/include/ipdf_formnotify.h

Issue 2332983002: Make ipdf_formnotify a pure virtual interface (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « BUILD.gn ('k') | core/fpdfdoc/ipdf_formnotify.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/include/ipdf_formnotify.h
diff --git a/core/fpdfdoc/include/ipdf_formnotify.h b/core/fpdfdoc/include/ipdf_formnotify.h
index 65be2df3d7cbd151dd2b4251d1e8c0aa0193158e..49bb84d81e45859814fc7324ec8ae85193067fe2 100644
--- a/core/fpdfdoc/include/ipdf_formnotify.h
+++ b/core/fpdfdoc/include/ipdf_formnotify.h
@@ -14,19 +14,19 @@ class CPDF_InterForm;
class IPDF_FormNotify {
public:
- virtual ~IPDF_FormNotify();
+ virtual ~IPDF_FormNotify() {}
virtual int BeforeValueChange(CPDF_FormField* pField,
- const CFX_WideString& csValue);
- virtual void AfterValueChange(CPDF_FormField* pField);
+ const CFX_WideString& csValue) = 0;
+ virtual void AfterValueChange(CPDF_FormField* pField) = 0;
virtual int BeforeSelectionChange(CPDF_FormField* pField,
- const CFX_WideString& csValue);
- virtual void AfterSelectionChange(CPDF_FormField* pField);
- virtual void AfterCheckedStatusChange(CPDF_FormField* pField);
- virtual int BeforeFormReset(CPDF_InterForm* pForm);
- virtual void AfterFormReset(CPDF_InterForm* pForm);
- virtual int BeforeFormImportData(CPDF_InterForm* pForm);
- virtual void AfterFormImportData(CPDF_InterForm* pForm);
+ const CFX_WideString& csValue) = 0;
+ virtual void AfterSelectionChange(CPDF_FormField* pField) = 0;
+ virtual void AfterCheckedStatusChange(CPDF_FormField* pField) = 0;
+ virtual int BeforeFormReset(CPDF_InterForm* pForm) = 0;
+ virtual void AfterFormReset(CPDF_InterForm* pForm) = 0;
+ virtual int BeforeFormImportData(CPDF_InterForm* pForm) = 0;
+ virtual void AfterFormImportData(CPDF_InterForm* pForm) = 0;
};
#endif // CORE_FPDFDOC_INCLUDE_IPDF_FORMNOTIFY_H_
« no previous file with comments | « BUILD.gn ('k') | core/fpdfdoc/ipdf_formnotify.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698