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

Side by Side Diff: xfa/fwl/lightwidget/cfwl_widget.h

Issue 1928963004: Cleanup IFWL_Adapter interfaces. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 7 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
« no previous file with comments | « xfa/fwl/core/ifwl_widget.h ('k') | xfa/fwl/lightwidget/cfwl_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_LIGHTWIDGET_CFWL_WIDGET_H_ 7 #ifndef XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_
8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ 8 #define XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_
9 9
10 #include "xfa/fwl/core/cfwl_event.h" 10 #include "xfa/fwl/core/cfwl_event.h"
(...skipping 20 matching lines...) Expand all
31 FWL_ERR GetClientRect(CFX_RectF& rtClient); 31 FWL_ERR GetClientRect(CFX_RectF& rtClient);
32 CFWL_Widget* GetParent(); 32 CFWL_Widget* GetParent();
33 FWL_ERR SetParent(CFWL_Widget* pParent); 33 FWL_ERR SetParent(CFWL_Widget* pParent);
34 CFWL_Widget* GetOwner(); 34 CFWL_Widget* GetOwner();
35 FWL_ERR SetOwner(CFWL_Widget* pOwner); 35 FWL_ERR SetOwner(CFWL_Widget* pOwner);
36 uint32_t GetStyles(); 36 uint32_t GetStyles();
37 FWL_ERR ModifyStyles(uint32_t dwStylesAdded, uint32_t dwStylesRemoved); 37 FWL_ERR ModifyStyles(uint32_t dwStylesAdded, uint32_t dwStylesRemoved);
38 uint32_t GetStylesEx(); 38 uint32_t GetStylesEx();
39 FWL_ERR ModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved); 39 FWL_ERR ModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved);
40 uint32_t GetStates(); 40 uint32_t GetStates();
41 FWL_ERR SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE); 41 void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE);
42 FWL_ERR SetPrivateData(void* module_id, 42 FWL_ERR SetPrivateData(void* module_id,
43 void* pData, 43 void* pData,
44 PD_CALLBACK_FREEDATA callback); 44 PD_CALLBACK_FREEDATA callback);
45 void* GetPrivateData(void* module_id); 45 void* GetPrivateData(void* module_id);
46 FWL_ERR Update(); 46 FWL_ERR Update();
47 FWL_ERR LockUpdate(); 47 FWL_ERR LockUpdate();
48 FWL_ERR UnlockUpdate(); 48 FWL_ERR UnlockUpdate();
49 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy); 49 FWL_WidgetHit HitTest(FX_FLOAT fx, FX_FLOAT fy);
50 FWL_ERR TransformTo(CFWL_Widget* pWidget, FX_FLOAT& fx, FX_FLOAT& fy); 50 FWL_ERR TransformTo(CFWL_Widget* pWidget, FX_FLOAT& fx, FX_FLOAT& fy);
51 FWL_ERR TransformTo(CFWL_Widget* pWidget, CFX_RectF& rt); 51 FWL_ERR TransformTo(CFWL_Widget* pWidget, CFX_RectF& rt);
(...skipping 15 matching lines...) Expand all
67 IFWL_Widget* m_pIface; 67 IFWL_Widget* m_pIface;
68 IFWL_WidgetDelegate* m_pDelegate; 68 IFWL_WidgetDelegate* m_pDelegate;
69 CFWL_WidgetMgr* m_pWidgetMgr; 69 CFWL_WidgetMgr* m_pWidgetMgr;
70 CFWL_WidgetProperties* m_pProperties; 70 CFWL_WidgetProperties* m_pProperties;
71 71
72 protected: 72 protected:
73 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); 73 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL);
74 }; 74 };
75 75
76 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_ 76 #endif // XFA_FWL_LIGHTWIDGET_CFWL_WIDGET_H_
OLDNEW
« no previous file with comments | « xfa/fwl/core/ifwl_widget.h ('k') | xfa/fwl/lightwidget/cfwl_widget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698