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

Side by Side Diff: xfa/fwl/core/cfwl_event.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_edit.cpp ('k') | xfa/fwl/core/cfwl_event.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_EVENT_H_
8 #define XFA_FWL_CORE_CFWL_EVENT_H_
9
10 #include "core/fxcrt/fx_coordinates.h"
11 #include "core/fxcrt/fx_string.h"
12 #include "core/fxcrt/fx_system.h"
13 #include "xfa/fwl/core/cfwl_msgkey.h"
14 #include "xfa/fwl/core/cfwl_msgmouse.h"
15 #include "xfa/fwl/core/fwl_error.h"
16
17 class CFX_Graphics;
18 class CFWL_Widget;
19
20 class CFWL_Event {
21 public:
22 enum class Type {
23 CheckStateChanged,
24 CheckWord,
25 Click,
26 Close,
27 EditChanged,
28 Mouse,
29 PostDropDown,
30 PreDropDown,
31 Scroll,
32 SelectChanged,
33 TextChanged,
34 TextFull,
35 Validate
36 };
37
38 explicit CFWL_Event(Type type);
39 CFWL_Event(Type type, CFWL_Widget* pSrcTarget);
40 CFWL_Event(Type type, CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget);
41 virtual ~CFWL_Event();
42
43 Type GetType() const { return m_type; }
44
45 CFWL_Widget* m_pSrcTarget;
46 CFWL_Widget* m_pDstTarget;
47
48 private:
49 Type m_type;
50 };
51
52 #endif // XFA_FWL_CORE_CFWL_EVENT_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_edit.cpp ('k') | xfa/fwl/core/cfwl_event.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698