Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fxfa / src / app / xfa_ffdocview.h
index e7493e6..557a39f 100644 (file)
@@ -45,8 +45,8 @@ public:
     virtual    void                    UpdateDocView();\r
     virtual int32_t            CountPageViews();\r
     virtual IXFA_PageView*     GetPageView(int32_t nIndex);\r
-    virtual IXFA_Widget*               GetWidgetByName(FX_WSTR wsName);\r
-    virtual CXFA_WidgetAcc* GetWidgetAccByName(FX_WSTR wsName);\r
+    virtual IXFA_Widget*               GetWidgetByName(const CFX_WideStringC& wsName);\r
+    virtual CXFA_WidgetAcc* GetWidgetAccByName(const CFX_WideStringC& wsName);\r
     virtual void                       ResetWidgetData(CXFA_WidgetAcc* pWidgetAcc = NULL);\r
     virtual int32_t            ProcessWidgetEvent(CXFA_EventParam* pParam, CXFA_WidgetAcc* pWidgetAcc = NULL);\r
     virtual IXFA_WidgetHandler*                        GetWidgetHandler();\r
@@ -55,8 +55,8 @@ public:
     virtual IXFA_Widget*               GetFocusWidget();\r
     virtual void                       KillFocus();\r
     virtual FX_BOOL                    SetFocus(IXFA_Widget* hWidget);\r
-    CXFA_FFWidget*             GetWidgetByName(FX_WSTR wsName, CXFA_FFWidget* pRefWidget = NULL);\r
-    CXFA_WidgetAcc*            GetWidgetAccByName(FX_WSTR wsName, CXFA_WidgetAcc* pRefWidgetAcc = NULL);\r
+    CXFA_FFWidget*             GetWidgetByName(const CFX_WideStringC& wsName, CXFA_FFWidget* pRefWidget = NULL);\r
+    CXFA_WidgetAcc*            GetWidgetAccByName(const CFX_WideStringC& wsName, CXFA_WidgetAcc* pRefWidgetAcc = NULL);\r
     IXFA_DocLayout*            GetXFALayout() const;\r
     void                               OnPageEvent(IXFA_LayoutPage *pSender, XFA_PAGEEVENT eEvent, int32_t iPageIndex);\r
     void                               LockUpdate();\r