• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #include "xfa/fwl/cfwl_messagekey.h"
8 
9 namespace pdfium {
10 
CFWL_MessageKey(CFWL_Widget * pDstTarget,KeyCommand cmd,Mask<XFA_FWL_KeyFlag> flags,uint32_t dwKeyCodeOrChar)11 CFWL_MessageKey::CFWL_MessageKey(CFWL_Widget* pDstTarget,
12                                  KeyCommand cmd,
13                                  Mask<XFA_FWL_KeyFlag> flags,
14                                  uint32_t dwKeyCodeOrChar)
15     : CFWL_Message(CFWL_Message::Type::kKey, pDstTarget),
16       m_dwCmd(cmd),
17       m_dwFlags(flags),
18       m_dwKeyCodeOrChar(dwKeyCodeOrChar) {}
19 
20 CFWL_MessageKey::~CFWL_MessageKey() = default;
21 
22 }  // namespace pdfium
23