Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/base/nsIContentPolicy.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIContentPolicy",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* short shouldLoad (in nsIURI aContentLocation, in nsILoadInfo aLoadInfo); */
Method {
name: "ShouldLoad",
params: &[Param { name: "aContentLocation", ty: "*const nsIURI" }, Param { name: "aLoadInfo", ty: "*const nsILoadInfo" }, Param { name: "_retval", ty: "*mut i16" }],
ret: "::nserror::nsresult",
},
/* short shouldProcess (in nsIURI aContentLocation, in nsILoadInfo aLoadInfo); */
Method {
name: "ShouldProcess",
params: &[Param { name: "aContentLocation", ty: "*const nsIURI" }, Param { name: "aLoadInfo", ty: "*const nsILoadInfo" }, Param { name: "_retval", ty: "*mut i16" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}