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

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

Issue 2559173002: Move xfa/fwl/core to xfa/fwl. (Closed)
Patch Set: Created 4 years 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_listitem.cpp ('k') | xfa/fwl/core/cfwl_message.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_MESSAGE_H_
8 #define XFA_FWL_CORE_CFWL_MESSAGE_H_
9
10 #include <memory>
11
12 #include "core/fxcrt/fx_basic.h"
13 #include "core/fxcrt/fx_string.h"
14 #include "core/fxcrt/fx_system.h"
15 #include "xfa/fwl/core/fwl_error.h"
16
17 class CFWL_Widget;
18
19 class CFWL_Message {
20 public:
21 enum class Type { Key, KillFocus, Mouse, MouseWheel, SetFocus };
22
23 explicit CFWL_Message(Type type);
24 CFWL_Message(Type type, CFWL_Widget* pSrcTarget);
25 CFWL_Message(Type type, CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget);
26 virtual ~CFWL_Message();
27
28 virtual std::unique_ptr<CFWL_Message> Clone();
29 Type GetType() const { return m_type; }
30
31 CFWL_Widget* m_pSrcTarget;
32 CFWL_Widget* m_pDstTarget;
33
34 private:
35 Type m_type;
36 };
37
38
39 #endif // XFA_FWL_CORE_CFWL_MESSAGE_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_listitem.cpp ('k') | xfa/fwl/core/cfwl_message.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698