blob: 9d5f0531d1aec43b8fb56dda72bc2436cff4d895 [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
#include "xfa/fwl/cfwl_messagekey.h"
CFWL_MessageKey::CFWL_MessageKey(CFWL_Widget* pDstTarget,
KeyCommand cmd,
FWL_KeyFlagMask flags,
uint32_t dwKeyCodeOrChar)
: CFWL_Message(CFWL_Message::Type::kKey, nullptr, pDstTarget),
m_dwCmd(cmd),
m_dwFlags(flags),
m_dwKeyCodeOrChar(dwKeyCodeOrChar) {}
CFWL_MessageKey::~CFWL_MessageKey() = default;