Merge to XFA: Remove FX_BSTR and FX_WSTR typedefs.
[pdfium.git] / xfa / src / fdp / include / fde_css.h
index c55f6c4..96d4925 100644 (file)
@@ -475,9 +475,9 @@ public:
     static IFDE_CSSStyleSheetCache*    Create();\r
     virtual void                                       Release() = 0;\r
     virtual void                                       SetMaxItems(int32_t iMaxCount = 5) = 0;\r
-    virtual void                                       AddStyleSheet(FX_BSTR szKey, IFDE_CSSStyleSheet *pStyleSheet) = 0;\r
-    virtual IFDE_CSSStyleSheet*                GetStyleSheet(FX_BSTR szKey) const = 0;\r
-    virtual void                                       RemoveStyleSheet(FX_BSTR szKey) = 0;\r
+    virtual void                                       AddStyleSheet(const CFX_ByteStringC& szKey, IFDE_CSSStyleSheet *pStyleSheet) = 0;\r
+    virtual IFDE_CSSStyleSheet*                GetStyleSheet(const CFX_ByteStringC& szKey) const = 0;\r
+    virtual void                                       RemoveStyleSheet(const CFX_ByteStringC& szKey) = 0;\r
 };\r
 enum FDE_CSSSYNTAXSTATUS {\r
     FDE_CSSSYNTAXSTATUS_Error,\r
@@ -1036,7 +1036,7 @@ public:
     virtual IFDE_CSSTableStyle*                                GetTableStyle() const = 0;\r
     virtual IFDE_CSSGeneratedContentStyle*     GetGeneratedContentStyle() const = 0;\r
     virtual IFDE_CSSRubyStyle*                         GetRubyStyle() const = 0;\r
-    virtual FX_BOOL                                                    GetCustomStyle(FX_WSTR wsName, CFX_WideString &wsValue) const = 0;\r
+    virtual FX_BOOL                                                    GetCustomStyle(const CFX_WideStringC& wsName, CFX_WideString &wsValue) const = 0;\r
 };\r
 enum FDE_CSSSTYLESHEETGROUP {\r
     FDE_CSSSTYLESHEETGROUP_UserAgent,\r