blob: d75bdb4a12fdde99c9ccb603cd888b2bc354215c [file] [log] [blame]
// 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
#ifndef FPDFSDK_FPDFXFA_CPDFXFA_WIDGETHANDLER_H_
#define FPDFSDK_FPDFXFA_CPDFXFA_WIDGETHANDLER_H_
#include <memory>
#include "core/fxcrt/fx_coordinates.h"
#include "fpdfsdk/ipdfsdk_annothandler.h"
#include "public/fpdf_fwlevent.h"
#include "xfa/fwl/cfwl_messagemouse.h"
class CPDF_Annot;
class CPDFSDK_Annot;
class CPDFSDK_PageView;
class CPDFXFA_WidgetHandler final : public IPDFSDK_AnnotHandler {
public:
CPDFXFA_WidgetHandler();
~CPDFXFA_WidgetHandler() override;
// IPDFSDK_AnnotHandler:
std::unique_ptr<CPDFSDK_Annot> NewAnnot(CPDF_Annot* pAnnot,
CPDFSDK_PageView* pPageView) override;
};
#endif // FPDFSDK_FPDFXFA_CPDFXFA_WIDGETHANDLER_H_