chromium/third_party/pdfium/xfa/fwl/cfwl_edit.h

// Copyright 2014 The PDFium Authors
// 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 XFA_FWL_CFWL_EDIT_H_
#define XFA_FWL_CFWL_EDIT_H_

#include <memory>
#include <utility>

#include "xfa/fde/cfde_texteditengine.h"
#include "xfa/fgas/graphics/cfgas_gepath.h"
#include "xfa/fwl/cfwl_event.h"
#include "xfa/fwl/cfwl_scrollbar.h"
#include "xfa/fwl/cfwl_widget.h"

class CFX_RenderDevice;

namespace pdfium {

#define FWL_STYLEEXT_EDT_ReadOnly
#define FWL_STYLEEXT_EDT_MultiLine
#define FWL_STYLEEXT_EDT_WantReturn
#define FWL_STYLEEXT_EDT_AutoHScroll
#define FWL_STYLEEXT_EDT_AutoVScroll
#define FWL_STYLEEXT_EDT_Validate
#define FWL_STYLEEXT_EDT_Password
#define FWL_STYLEEXT_EDT_Number
#define FWL_STYLEEXT_EDT_CombText
#define FWL_STYLEEXT_EDT_HNear
#define FWL_STYLEEXT_EDT_HCenter
#define FWL_STYLEEXT_EDT_HFar
#define FWL_STYLEEXT_EDT_VNear
#define FWL_STYLEEXT_EDT_VCenter
#define FWL_STYLEEXT_EDT_VFar
#define FWL_STYLEEXT_EDT_Justified
#define FWL_STYLEEXT_EDT_HAlignMask
#define FWL_STYLEEXT_EDT_VAlignMask
#define FWL_STYLEEXT_EDT_HAlignModeMask
#define FWL_STYLEEXT_EDT_ShowScrollbarFocus
#define FWL_STYLEEXT_EDT_OuterScrollbar

class CFWL_MessageKey;
class CFWL_MessageMouse;
class CFWL_Caret;

class CFWL_Edit : public CFWL_Widget, public CFDE_TextEditEngine::Delegate {};

}  // namespace pdfium

// TODO(crbug.com/42271761): Remove.
CFWL_Edit;

#endif  // XFA_FWL_CFWL_EDIT_H_