diff options
author | tsepez <tsepez@chromium.org> | 2016-09-13 06:21:52 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-13 06:21:53 -0700 |
commit | f786c267e290c259b38afe900b8abd23812a575b (patch) | |
tree | fd251e4c6a5ad207c65a9bc432f365dbf0334983 /core/fpdfdoc/ipdf_formnotify.cpp | |
parent | 9de00fdc4d4e4dba9e754b337a05809482e4fea2 (diff) | |
download | pdfium-f786c267e290c259b38afe900b8abd23812a575b.tar.xz |
Make ipdf_formnotify a pure virtual interface
Removes some unused code for the default implementation,
Review-Url: https://codereview.chromium.org/2332983002
Diffstat (limited to 'core/fpdfdoc/ipdf_formnotify.cpp')
-rw-r--r-- | core/fpdfdoc/ipdf_formnotify.cpp | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/core/fpdfdoc/ipdf_formnotify.cpp b/core/fpdfdoc/ipdf_formnotify.cpp deleted file mode 100644 index b36419d0e0..0000000000 --- a/core/fpdfdoc/ipdf_formnotify.cpp +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright 2016 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#include "core/fpdfdoc/include/ipdf_formnotify.h" - -IPDF_FormNotify::~IPDF_FormNotify() {} - -int IPDF_FormNotify::BeforeValueChange(CPDF_FormField* pField, - const CFX_WideString& csValue) { - return 0; -} - -void IPDF_FormNotify::AfterValueChange(CPDF_FormField* pField) {} - -int IPDF_FormNotify::BeforeSelectionChange(CPDF_FormField* pField, - const CFX_WideString& csValue) { - return 0; -} - -void IPDF_FormNotify::AfterSelectionChange(CPDF_FormField* pField) {} - -void IPDF_FormNotify::AfterCheckedStatusChange(CPDF_FormField* pField) {} - -int IPDF_FormNotify::BeforeFormReset(CPDF_InterForm* pForm) { - return 0; -} - -void IPDF_FormNotify::AfterFormReset(CPDF_InterForm* pForm) {} - -int IPDF_FormNotify::BeforeFormImportData(CPDF_InterForm* pForm) { - return 0; -} - -void IPDF_FormNotify::AfterFormImportData(CPDF_InterForm* pForm) {} |