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

Side by Side Diff: xfa/fwl/core/cfwl_eventtarget.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_event.cpp ('k') | xfa/fwl/core/cfwl_eventtarget.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_EVENTTARGET_H_
8 #define XFA_FWL_CORE_CFWL_EVENTTARGET_H_
9
10 #include <set>
11
12 #include "core/fxcrt/fx_basic.h"
13 #include "xfa/fwl/core/cfwl_event.h"
14
15 class CFWL_Event;
16 class CFWL_Widget;
17
18 class CFWL_EventTarget {
19 public:
20 explicit CFWL_EventTarget(CFWL_Widget* pListener);
21 ~CFWL_EventTarget();
22
23 void SetEventSource(CFWL_Widget* pSource);
24 bool ProcessEvent(CFWL_Event* pEvent);
25
26 bool IsInvalid() const { return m_bInvalid; }
27 void FlagInvalid() { m_bInvalid = true; }
28
29 private:
30 std::set<CFWL_Widget*> m_widgets;
31 CFWL_Widget* m_pListener;
32 bool m_bInvalid;
33 };
34
35 #endif // XFA_FWL_CORE_CFWL_EVENTTARGET_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/cfwl_event.cpp ('k') | xfa/fwl/core/cfwl_eventtarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698