diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-18 17:08:23 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-18 17:08:23 -0800 |
commit | 44971898e73ce68f0014ff588e5556c20332cdd0 (patch) | |
tree | 75f8345dbaf98bff83237a5c876ae865758bd07e /xfa/include/fwl/core | |
parent | 3fc8c688374fc8f34f4b02debc5888e2775df91b (diff) | |
download | pdfium-44971898e73ce68f0014ff588e5556c20332cdd0.tar.xz |
Kill dead IFWL_*::Initialize() variants dead.
Remove default argument in remaining variants.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1453373006 .
Diffstat (limited to 'xfa/include/fwl/core')
-rw-r--r-- | xfa/include/fwl/core/fwl_content.h | 1 | ||||
-rw-r--r-- | xfa/include/fwl/core/fwl_form.h | 5 | ||||
-rw-r--r-- | xfa/include/fwl/core/fwl_grid.h | 1 | ||||
-rw-r--r-- | xfa/include/fwl/core/fwl_panel.h | 8 | ||||
-rw-r--r-- | xfa/include/fwl/core/fwl_widget.h | 4 |
5 files changed, 4 insertions, 15 deletions
diff --git a/xfa/include/fwl/core/fwl_content.h b/xfa/include/fwl/core/fwl_content.h index 8669340343..64c4887053 100644 --- a/xfa/include/fwl/core/fwl_content.h +++ b/xfa/include/fwl/core/fwl_content.h @@ -11,7 +11,6 @@ class IFWL_Content; class IFWL_Content : public IFWL_Widget {
public:
static IFWL_Content* Create();
- FWL_ERR Initialize();
FWL_ERR InsertWidget(IFWL_Widget* pChild, int32_t nIndex = -1);
FWL_ERR RemoveWidget(IFWL_Widget* pWidget);
FWL_ERR RemoveAllWidgets();
diff --git a/xfa/include/fwl/core/fwl_form.h b/xfa/include/fwl/core/fwl_form.h index b06d5742e9..6d76c614d0 100644 --- a/xfa/include/fwl/core/fwl_form.h +++ b/xfa/include/fwl/core/fwl_form.h @@ -66,12 +66,9 @@ enum FWL_COMMANDID { class IFWL_Form : public IFWL_Panel {
public:
static IFWL_Form* Create();
- FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
- FWL_ERR Initialize(CFWL_WidgetImpProperties& properties,
- IFWL_Widget* pOuter = NULL);
FWL_ERR Initialize(CFWL_WidgetImpProperties& properties,
CFX_WideString* classname,
- IFWL_Widget* pOuter = NULL);
+ IFWL_Widget* pOuter);
FWL_FORMSIZE GetFormSize();
FWL_ERR SetFormSize(FWL_FORMSIZE eFormSize);
IFWL_Widget* DoModal();
diff --git a/xfa/include/fwl/core/fwl_grid.h b/xfa/include/fwl/core/fwl_grid.h index 7126024ba7..a41ef4ed53 100644 --- a/xfa/include/fwl/core/fwl_grid.h +++ b/xfa/include/fwl/core/fwl_grid.h @@ -40,7 +40,6 @@ typedef struct _FWL_HGRIDCOLROW { void* pData; } * FWL_HGRIDCOLROW; class IFWL_Grid : public IFWL_Content {
public:
static IFWL_Grid* Create();
- FWL_ERR Initialize();
FWL_ERR Initialize(CFWL_WidgetImpProperties& properties);
FWL_HGRIDCOLROW InsertColRow(FX_BOOL bColumn, int32_t nIndex = -1);
diff --git a/xfa/include/fwl/core/fwl_panel.h b/xfa/include/fwl/core/fwl_panel.h index 51d1249d56..bea6675911 100644 --- a/xfa/include/fwl/core/fwl_panel.h +++ b/xfa/include/fwl/core/fwl_panel.h @@ -15,9 +15,7 @@ class IFWL_CustomPanel; class IFWL_Panel : public IFWL_Widget {
public:
static IFWL_Panel* Create();
- FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
- FWL_ERR Initialize(CFWL_WidgetImpProperties& properties,
- IFWL_Widget* pOuter = NULL);
+ FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter);
IFWL_Content* GetContent();
FWL_ERR SetContent(IFWL_Content* pContent);
@@ -27,9 +25,7 @@ class IFWL_Panel : public IFWL_Widget { class IFWL_CustomPanel : public IFWL_Widget {
public:
static IFWL_CustomPanel* Create();
- FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
- FWL_ERR Initialize(CFWL_WidgetImpProperties& properties,
- IFWL_Widget* pOuter = NULL);
+ FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter);
IFWL_Content* GetContent();
FWL_ERR SetContent(IFWL_Content* pContent);
FWL_ERR SetProxy(IFWL_Proxy* pProxy);
diff --git a/xfa/include/fwl/core/fwl_widget.h b/xfa/include/fwl/core/fwl_widget.h index 4a9c794d28..f7ddb5cebd 100644 --- a/xfa/include/fwl/core/fwl_widget.h +++ b/xfa/include/fwl/core/fwl_widget.h @@ -93,10 +93,8 @@ class CFWL_WidgetImpProperties { class IFWL_Custom : public IFWL_Widget {
public:
static IFWL_Custom* Create();
-
- FWL_ERR Initialize(IFWL_Widget* pOuter = NULL);
FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties,
- IFWL_Widget* pOuter = NULL);
+ IFWL_Widget* pOuter);
FWL_ERR SetProxy(IFWL_Proxy* pProxy);
protected:
|