Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: xfa/fwl/core/cfwl_msgmouse.h

Issue 2510823003: Move the message definitions to their own files. (Closed)
Patch Set: Review feedback Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/fwl/core/cfwl_msgkillfocus.cpp ('k') | xfa/fwl/core/cfwl_msgmouse.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
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 #ifndef XFA_FWL_CORE_CFWL_MSGMOUSE_H_
8 #define XFA_FWL_CORE_CFWL_MSGMOUSE_H_
9
10 #include "xfa/fwl/core/cfwl_message.h"
11
12 enum class FWL_MouseCommand {
13 LeftButtonDown,
14 LeftButtonUp,
15 LeftButtonDblClk,
16 RightButtonDown,
17 RightButtonUp,
18 RightButtonDblClk,
19 Move,
20 Enter,
21 Leave,
22 Hover
23 };
24
25 class CFWL_MsgMouse : public CFWL_Message {
26 public:
27 CFWL_MsgMouse();
28 ~CFWL_MsgMouse() override;
29
30 // CFWL_Message
31 std::unique_ptr<CFWL_Message> Clone() override;
32 CFWL_MessageType GetClassID() const override;
33
34 FX_FLOAT m_fx;
35 FX_FLOAT m_fy;
36 uint32_t m_dwFlags;
37 FWL_MouseCommand m_dwCmd;
38 };
39
40 #endif // XFA_FWL_CORE_CFWL_MSGMOUSE_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_msgkillfocus.cpp ('k') | xfa/fwl/core/cfwl_msgmouse.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698