summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/cfwl_widget.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-07 18:24:00 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-07 18:24:00 -0800
commit67c6ca3cd86b6a31c888264bb8067c6c4324e56c (patch)
tree0bd48cd23e9d0a0d80866cbbc71793ea7ac31123 /xfa/fwl/core/cfwl_widget.h
parenta2cbc570a035186529be151af0b3d44cf4106eee (diff)
downloadpdfium-67c6ca3cd86b6a31c888264bb8067c6c4324e56c.tar.xz
Split CFWL_Widget::GetWidgetRect into two parts
This CL splits the inflation logic out of GetWidgetRect to allow subclasses to call that directly instead of the CFWL_Widget::GetWidgetRect method. Review-Url: https://codereview.chromium.org/2555253002
Diffstat (limited to 'xfa/fwl/core/cfwl_widget.h')
-rw-r--r--xfa/fwl/core/cfwl_widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/fwl/core/cfwl_widget.h b/xfa/fwl/core/cfwl_widget.h
index 4961055954..3272e9d011 100644
--- a/xfa/fwl/core/cfwl_widget.h
+++ b/xfa/fwl/core/cfwl_widget.h
@@ -69,6 +69,7 @@ class CFWL_Widget : public IFWL_WidgetDelegate {
void OnDrawWidget(CFX_Graphics* pGraphics,
const CFX_Matrix* pMatrix) override;
+ void InflateWidgetRect(CFX_RectF& rect);
void SetWidgetRect(const CFX_RectF& rect);
void SetParent(CFWL_Widget* pParent);