summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/core/cfwl_widget.h')
-rw-r--r--xfa/fwl/core/cfwl_widget.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h
index 3272e9d011..15acbf53c0 100644
--- a/xfa/fwl/core/cfwl_widget.h
+++ b/xfa/fwl/core/cfwl_widget.h
@@ -51,7 +51,8 @@ class CFWL_Widget : public IFWL_WidgetDelegate {
virtual FWL_Type GetClassID() const = 0;
virtual bool IsInstance(const CFX_WideStringC& wsClass) const;
- virtual void GetWidgetRect(CFX_RectF& rect, bool bAutoSize);
+ virtual CFX_RectF GetAutosizedWidgetRect();
+ virtual CFX_RectF GetWidgetRect();
virtual void GetClientRect(CFX_RectF& rect);
virtual void ModifyStylesEx(uint32_t dwStylesExAdded,
uint32_t dwStylesExRemoved);