OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef XFA_FWL_CORE_CFWL_MESSAGE_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_MESSAGE_H_ |
8 #define XFA_FWL_CORE_CFWL_MESSAGE_H_ | 8 #define XFA_FWL_CORE_CFWL_MESSAGE_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_string.h" | 10 #include "core/fxcrt/fx_string.h" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/fx_system.h" |
12 #include "xfa/fwl/core/fwl_error.h" | 12 #include "xfa/fwl/core/fwl_error.h" |
13 | 13 |
14 enum class CFWL_MessageType { | 14 enum class CFWL_MessageType { |
15 None = 0, | 15 None = 0, |
16 | 16 |
17 Activate, | 17 Activate, |
18 Close, | 18 Close, |
19 Cursor, | 19 Cursor, |
20 Deactivate, | 20 Deactivate, |
21 DropFiles, | 21 DropFiles, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 FWL_MESSAGE_DEF(CFWL_MsgTaskClicked, | 185 FWL_MESSAGE_DEF(CFWL_MsgTaskClicked, |
186 CFWL_MessageType::TaskClicked, | 186 CFWL_MessageType::TaskClicked, |
187 FX_FLOAT m_fx; | 187 FX_FLOAT m_fx; |
188 FX_FLOAT m_fy;) | 188 FX_FLOAT m_fy;) |
189 | 189 |
190 FWL_MESSAGE_DEF(CFWL_MsgClose, CFWL_MessageType::Close) | 190 FWL_MESSAGE_DEF(CFWL_MsgClose, CFWL_MessageType::Close) |
191 | 191 |
192 FWL_MESSAGE_DEF(CFWL_MsgWindowWillMove, CFWL_MessageType::WindowWillMove) | 192 FWL_MESSAGE_DEF(CFWL_MsgWindowWillMove, CFWL_MessageType::WindowWillMove) |
193 | 193 |
194 #endif // XFA_FWL_CORE_CFWL_MESSAGE_H_ | 194 #endif // XFA_FWL_CORE_CFWL_MESSAGE_H_ |
OLD | NEW |