Merge IPWL_SystemHandler into IPWL_FillerNotify,
One fewer pure virtual class to worry about. Avoids layer-skipping
the over CFFL layer between the PWL and CPDFSDK layers. The CFFL_InteractiveFormFiller and CPDF_FormFillEnvironment are 1:1 with
each other so it is a matter of proxying a few calls up a layer.
Change-Id: I8ec500adb4691a9c19f05eeb7a2fe12bad9fe991
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/93530
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/fpdfsdk/pwl/cpwl_special_button.h b/fpdfsdk/pwl/cpwl_special_button.h
index f933cb6..018a20e 100644
--- a/fpdfsdk/pwl/cpwl_special_button.h
+++ b/fpdfsdk/pwl/cpwl_special_button.h
@@ -15,7 +15,7 @@
public:
CPWL_PushButton(
const CreateParams& cp,
- std::unique_ptr<IPWL_SystemHandler::PerWindowData> pAttachedData);
+ std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
~CPWL_PushButton() override;
// CPWL_Button:
@@ -26,7 +26,7 @@
public:
CPWL_CheckBox(
const CreateParams& cp,
- std::unique_ptr<IPWL_SystemHandler::PerWindowData> pAttachedData);
+ std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
~CPWL_CheckBox() override;
// CPWL_Button:
@@ -44,7 +44,7 @@
public:
CPWL_RadioButton(
const CreateParams& cp,
- std::unique_ptr<IPWL_SystemHandler::PerWindowData> pAttachedData);
+ std::unique_ptr<IPWL_FillerNotify::PerWindowData> pAttachedData);
~CPWL_RadioButton() override;
// CPWL_Button