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

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

Issue 1874963002: Remove some FWL code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 months 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
OLDNEW
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_EVENT_H_ 7 #ifndef XFA_FWL_CORE_CFWL_EVENT_H_
8 #define XFA_FWL_CORE_CFWL_EVENT_H_ 8 #define XFA_FWL_CORE_CFWL_EVENT_H_
9 9
10 #include "core/fxcrt/include/fx_coordinates.h" 10 #include "core/fxcrt/include/fx_coordinates.h"
11 #include "core/fxcrt/include/fx_string.h" 11 #include "core/fxcrt/include/fx_string.h"
12 #include "core/fxcrt/include/fx_system.h" 12 #include "core/fxcrt/include/fx_system.h"
13 #include "xfa/fwl/core/cfwl_note.h" 13 #include "xfa/fwl/core/cfwl_note.h"
14 #include "xfa/fwl/core/fwl_error.h" 14 #include "xfa/fwl/core/fwl_error.h"
15 15
16 #define FWL_EVT_Mouse L"FWL_EVENT_Mouse"
17 #define FWL_EVT_MouseWheel L"FWL_EVENT_MouseWheel"
18 #define FWL_EVT_Key L"FWL_EVENT_Key"
19 #define FWL_EVT_SetFocus L"FWL_EVENT_SetFocus"
20 #define FWL_EVT_KillFocus L"FWL_EVENT_KillFocus"
21 #define FWL_EVT_Click L"FWL_EVENT_Click"
22 #define FWL_EVT_Draw L"FWL_EVENT_Draw"
23 #define FWL_EVT_Scroll L"FWL_EVENT_Scroll"
24 #define FWL_EVT_Close L"FWL_EVENT_Close"
25 #define FWL_EVT_ContextMenu L"FWL_EVENT_ContextMenu"
26 #define FWL_EVT_MenuCommand L"FWL_EVENT_MenuCommand"
27 #define FWL_EVT_SizeChanged L"FWL_EVENT_SizeChanged"
28
29 #define FWL_EVTHASH_Mouse 1765258002 16 #define FWL_EVTHASH_Mouse 1765258002
30 #define FWL_EVTHASH_MouseWheel 3907114407 17 #define FWL_EVTHASH_MouseWheel 3907114407
31 #define FWL_EVTHASH_Key 2408354450 18 #define FWL_EVTHASH_Key 2408354450
32 #define FWL_EVTHASH_SetFocus 3909721269 19 #define FWL_EVTHASH_SetFocus 3909721269
33 #define FWL_EVTHASH_KillFocus 1779363253 20 #define FWL_EVTHASH_KillFocus 1779363253
34 #define FWL_EVTHASH_Draw 2430713303 21 #define FWL_EVTHASH_Draw 2430713303
35 #define FWL_EVTHASH_Click 4026328783 22 #define FWL_EVTHASH_Click 4026328783
36 #define FWL_EVTHASH_Scroll 2965158968 23 #define FWL_EVTHASH_Scroll 2965158968
37 #define FWL_EVTHASH_Close 4036693599 24 #define FWL_EVTHASH_Close 4036693599
38 #define FWL_EVTHASH_ContextMenu 2717307715 25 #define FWL_EVTHASH_ContextMenu 2717307715
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 BEGIN_FWL_EVENT_DEF(CFWL_EvtSizeChanged, FWL_EVTHASH_SizeChanged) 123 BEGIN_FWL_EVENT_DEF(CFWL_EvtSizeChanged, FWL_EVTHASH_SizeChanged)
137 IFWL_Widget* m_pWidget; 124 IFWL_Widget* m_pWidget;
138 CFX_RectF m_rtOld; 125 CFX_RectF m_rtOld;
139 CFX_RectF m_rtNew; 126 CFX_RectF m_rtNew;
140 END_FWL_EVENT_DEF 127 END_FWL_EVENT_DEF
141 128
142 BEGIN_FWL_EVENT_DEF(CFWL_EvtIdle, FWL_EVTHASH_Idle) 129 BEGIN_FWL_EVENT_DEF(CFWL_EvtIdle, FWL_EVTHASH_Idle)
143 END_FWL_EVENT_DEF 130 END_FWL_EVENT_DEF
144 131
145 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ 132 #endif // XFA_FWL_CORE_CFWL_EVENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698