From 576e8151efab01166142ec697b66ce38b7bf6780 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Mon, 30 Jan 2017 14:26:24 -0800 Subject: Use std::vector and unique_ptr in xfa/fwl. Change-Id: I21aeb1df387b60330d87a6cc82c615878c1f5596 Reviewed-on: https://pdfium-review.googlesource.com/2457 Reviewed-by: dsinclair Commit-Queue: dsinclair --- xfa/fwl/cfwl_widgetmgr.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xfa/fwl/cfwl_widgetmgr.h') diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h index 62ea60a182..baa2d1a628 100644 --- a/xfa/fwl/cfwl_widgetmgr.h +++ b/xfa/fwl/cfwl_widgetmgr.h @@ -9,6 +9,7 @@ #include #include +#include #include "core/fxcrt/fx_system.h" #include "xfa/fwl/fwl_error.h" @@ -50,11 +51,11 @@ class CFWL_WidgetMgr : public CFWL_WidgetMgrDelegate { void SetParent(CFWL_Widget* pParent, CFWL_Widget* pChild); CFWL_Widget* GetWidgetAtPoint(CFWL_Widget* pParent, FX_FLOAT fx, FX_FLOAT fy); - CFWL_Widget* NextTab(CFWL_Widget* parent, CFWL_Widget* focus, bool& bFind); - void GetSameGroupRadioButton(CFWL_Widget* pRadioButton, - CFX_ArrayTemplate& group) const; + std::vector GetSameGroupRadioButton( + CFWL_Widget* pRadioButton) const; + CFWL_Widget* GetDefaultButton(CFWL_Widget* pParent) const; void AddRedrawCounts(CFWL_Widget* pWidget); -- cgit v1.2.3