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

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

Issue 2515243003: Remove FwlEventMask (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/ifwl_form.cpp ('k') | xfa/fwl/core/ifwl_widget.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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_IFWL_WIDGET_H_ 7 #ifndef XFA_FWL_CORE_IFWL_WIDGET_H_
8 #define XFA_FWL_CORE_IFWL_WIDGET_H_ 8 #define XFA_FWL_CORE_IFWL_WIDGET_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 void CalcTextRect(const CFX_WideString& wsText, 159 void CalcTextRect(const CFX_WideString& wsText,
160 IFWL_ThemeProvider* pTheme, 160 IFWL_ThemeProvider* pTheme,
161 uint32_t dwTTOStyles, 161 uint32_t dwTTOStyles,
162 int32_t iTTOAlign, 162 int32_t iTTOAlign,
163 CFX_RectF& rect); 163 CFX_RectF& rect);
164 void SetGrab(bool bSet); 164 void SetGrab(bool bSet);
165 void GetPopupPos(FX_FLOAT fMinHeight, 165 void GetPopupPos(FX_FLOAT fMinHeight,
166 FX_FLOAT fMaxHeight, 166 FX_FLOAT fMaxHeight,
167 const CFX_RectF& rtAnchor, 167 const CFX_RectF& rtAnchor,
168 CFX_RectF& rtPopup); 168 CFX_RectF& rtPopup);
169 void RegisterEventTarget(IFWL_Widget* pEventSource = nullptr, 169 void RegisterEventTarget(IFWL_Widget* pEventSource);
170 uint32_t dwFilter = FWL_EVENT_ALL_MASK);
171 void UnregisterEventTarget(); 170 void UnregisterEventTarget();
172 void DispatchKeyEvent(CFWL_MsgKey* pNote); 171 void DispatchKeyEvent(CFWL_MsgKey* pNote);
173 void DispatchEvent(CFWL_Event* pEvent); 172 void DispatchEvent(CFWL_Event* pEvent);
174 void DrawBorder(CFX_Graphics* pGraphics, 173 void DrawBorder(CFX_Graphics* pGraphics,
175 CFWL_Part iPartBorder, 174 CFWL_Part iPartBorder,
176 IFWL_ThemeProvider* pTheme, 175 IFWL_ThemeProvider* pTheme,
177 const CFX_Matrix* pMatrix = nullptr); 176 const CFX_Matrix* pMatrix = nullptr);
178 void DrawEdge(CFX_Graphics* pGraphics, 177 void DrawEdge(CFX_Graphics* pGraphics,
179 CFWL_Part iPartEdge, 178 CFWL_Part iPartEdge,
180 IFWL_ThemeProvider* pTheme, 179 IFWL_ThemeProvider* pTheme,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void NotifyDriver(); 215 void NotifyDriver();
217 bool IsParent(IFWL_Widget* pParent); 216 bool IsParent(IFWL_Widget* pParent);
218 217
219 void* m_pLayoutItem; 218 void* m_pLayoutItem;
220 CFWL_Widget* m_pAssociate; 219 CFWL_Widget* m_pAssociate;
221 uint32_t m_nEventKey; 220 uint32_t m_nEventKey;
222 IFWL_WidgetDelegate* m_pDelegate; // Not owned. 221 IFWL_WidgetDelegate* m_pDelegate; // Not owned.
223 }; 222 };
224 223
225 #endif // XFA_FWL_CORE_IFWL_WIDGET_H_ 224 #endif // XFA_FWL_CORE_IFWL_WIDGET_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_form.cpp ('k') | xfa/fwl/core/ifwl_widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698