Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIWindowsUIUtils.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWindowsUIUtils",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute long systemSmallIconSize; */
Method {
name: "GetSystemSmallIconSize",
params: &[Param { name: "aSystemSmallIconSize", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* readonly attribute long systemLargeIconSize; */
Method {
name: "GetSystemLargeIconSize",
params: &[Param { name: "aSystemLargeIconSize", ty: "*mut i32" }],
ret: "::nserror::nsresult",
},
/* void setWindowIcon (in mozIDOMWindowProxy aWindow, in imgIContainer aSmallIcon, in imgIContainer aLargeIcon); */
Method {
name: "SetWindowIcon",
params: &[Param { name: "aWindow", ty: "*const mozIDOMWindowProxy" }, Param { name: "aSmallIcon", ty: "*const imgIContainer" }, Param { name: "aLargeIcon", ty: "*const imgIContainer" }],
ret: "::nserror::nsresult",
},
/* void setWindowIconFromExe (in mozIDOMWindowProxy aWindow, in AString aExe, in unsigned short aIndex); */
Method {
name: "SetWindowIconFromExe",
params: &[Param { name: "aWindow", ty: "*const mozIDOMWindowProxy" }, Param { name: "aExe", ty: "*const ::nsstring::nsAString" }, Param { name: "aIndex", ty: "u16" }],
ret: "::nserror::nsresult",
},
/* void setWindowIconNoData (in mozIDOMWindowProxy aWindow); */
Method {
name: "SetWindowIconNoData",
params: &[Param { name: "aWindow", ty: "*const mozIDOMWindowProxy" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean inTabletMode; */
Method {
name: "GetInTabletMode",
params: &[Param { name: "aInTabletMode", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* void shareUrl (in AString shareTitle, in AString urlToShare); */
Method {
name: "ShareUrl",
params: &[Param { name: "shareTitle", ty: "*const ::nsstring::nsAString" }, Param { name: "urlToShare", ty: "*const ::nsstring::nsAString" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}