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

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

Issue 1937453002: Replace CFX_PtryArray with typesafe CFX_ArrayTemplate, Part 7 (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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
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_FWL_WIDGETMGRIMP_H_ 7 #ifndef XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_
8 #define XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_ 8 #define XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 FWL_ERR DispatchMessage_Native(); 105 FWL_ERR DispatchMessage_Native();
106 FX_BOOL IsIdleMessage_Native(); 106 FX_BOOL IsIdleMessage_Native();
107 FWL_ERR Exit_Native(int32_t iExitCode); 107 FWL_ERR Exit_Native(int32_t iExitCode);
108 FWL_ERR CreateWidgetWithNativeId_Native(IFWL_Widget* pWidget, void* vp); 108 FWL_ERR CreateWidgetWithNativeId_Native(IFWL_Widget* pWidget, void* vp);
109 IFWL_Widget* GetWidgetAtPoint(IFWL_Widget* pParent, FX_FLOAT fx, FX_FLOAT fy); 109 IFWL_Widget* GetWidgetAtPoint(IFWL_Widget* pParent, FX_FLOAT fx, FX_FLOAT fy);
110 void NotifySizeChanged(IFWL_Widget* pForm, FX_FLOAT fx, FX_FLOAT fy); 110 void NotifySizeChanged(IFWL_Widget* pForm, FX_FLOAT fx, FX_FLOAT fy);
111 IFWL_Widget* nextTab(IFWL_Widget* parent, IFWL_Widget* focus, FX_BOOL& bFind); 111 IFWL_Widget* nextTab(IFWL_Widget* parent, IFWL_Widget* focus, FX_BOOL& bFind);
112 int32_t CountRadioButtonGroup(IFWL_Widget* pFirst); 112 int32_t CountRadioButtonGroup(IFWL_Widget* pFirst);
113 IFWL_Widget* GetSiblingRadioButton(IFWL_Widget* pWidget, FX_BOOL bNext); 113 IFWL_Widget* GetSiblingRadioButton(IFWL_Widget* pWidget, FX_BOOL bNext);
114 IFWL_Widget* GetRadioButtonGroupHeader(IFWL_Widget* pRadioButton); 114 IFWL_Widget* GetRadioButtonGroupHeader(IFWL_Widget* pRadioButton);
115 void GetSameGroupRadioButton(IFWL_Widget* pRadioButton, CFX_PtrArray& group); 115 void GetSameGroupRadioButton(IFWL_Widget* pRadioButton,
116 CFX_ArrayTemplate<IFWL_Widget*>& group);
116 IFWL_Widget* GetDefaultButton(IFWL_Widget* pParent); 117 IFWL_Widget* GetDefaultButton(IFWL_Widget* pParent);
117 void AddRedrawCounts(IFWL_Widget* pWidget); 118 void AddRedrawCounts(IFWL_Widget* pWidget);
118 void ResetRedrawCounts(IFWL_Widget* pWidget); 119 void ResetRedrawCounts(IFWL_Widget* pWidget);
119 IFWL_AdapterWidgetMgr* GetAdapterWidgetMgr() { return m_pAdapter; } 120 IFWL_AdapterWidgetMgr* GetAdapterWidgetMgr() { return m_pAdapter; }
120 CFWL_WidgetMgrDelegate* GetDelegate() { return m_pDelegate; } 121 CFWL_WidgetMgrDelegate* GetDelegate() { return m_pDelegate; }
121 CFWL_WidgetMgrItem* GetWidgetMgrItem(IFWL_Widget* pWidget); 122 CFWL_WidgetMgrItem* GetWidgetMgrItem(IFWL_Widget* pWidget);
122 FX_BOOL IsThreadEnabled(); 123 FX_BOOL IsThreadEnabled();
123 FX_BOOL IsFormDisabled(); 124 FX_BOOL IsFormDisabled();
124 FX_BOOL GetAdapterPopupPos(IFWL_Widget* pWidget, 125 FX_BOOL GetAdapterPopupPos(IFWL_Widget* pWidget,
125 FX_FLOAT fMinHeight, 126 FX_FLOAT fMinHeight,
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 const CFX_Matrix* pMatrix); 169 const CFX_Matrix* pMatrix);
169 FX_BOOL IsNeedRepaint(IFWL_Widget* pWidget, 170 FX_BOOL IsNeedRepaint(IFWL_Widget* pWidget,
170 CFX_Matrix* pMatrix, 171 CFX_Matrix* pMatrix,
171 const CFX_RectF& rtDirty); 172 const CFX_RectF& rtDirty);
172 FX_BOOL bUseOffscreenDirect(IFWL_Widget* pWidget); 173 FX_BOOL bUseOffscreenDirect(IFWL_Widget* pWidget);
173 174
174 CFWL_WidgetMgr* m_pWidgetMgr; 175 CFWL_WidgetMgr* m_pWidgetMgr;
175 }; 176 };
176 177
177 #endif // XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_ 178 #endif // XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698