summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_widgetmgr.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2017-01-30 14:26:24 -0800
committerChromium commit bot <commit-bot@chromium.org>2017-01-31 01:34:14 +0000
commit576e8151efab01166142ec697b66ce38b7bf6780 (patch)
tree3a5407e99f885419081e673726ece94b155e2d1c /xfa/fwl/cfwl_widgetmgr.h
parent3509d16d3f3538867c42689b2353cb394c1fd97b (diff)
downloadpdfium-576e8151efab01166142ec697b66ce38b7bf6780.tar.xz
Use std::vector and unique_ptr in xfa/fwl.
Change-Id: I21aeb1df387b60330d87a6cc82c615878c1f5596 Reviewed-on: https://pdfium-review.googlesource.com/2457 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.h')
-rw-r--r--xfa/fwl/cfwl_widgetmgr.h7
1 files changed, 4 insertions, 3 deletions
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 <map>
#include <memory>
+#include <vector>
#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<CFWL_Widget*>& group) const;
+ std::vector<CFWL_Widget*> GetSameGroupRadioButton(
+ CFWL_Widget* pRadioButton) const;
+
CFWL_Widget* GetDefaultButton(CFWL_Widget* pParent) const;
void AddRedrawCounts(CFWL_Widget* pWidget);