Generated file

Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/satchel/nsIFormFillController.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIFormFillFocusListener",
base: Some("nsISupports"),
sync: false,
methods: Err("special type promise unsupported"),
},
Interface {
name: "nsIFormFillController",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [setter_can_run_script] attribute Element controlledElement; */
Method {
name: "GetControlledElement",
params: &[Param { name: "aControlledElement", ty: "*mut *const libc::c_void" }],
ret: "::nserror::nsresult",
},
Method {
name: "SetControlledElement",
params: &[Param { name: "aControlledElement", ty: "*const libc::c_void" }],
ret: "::nserror::nsresult",
},
/* readonly attribute boolean passwordPopupAutomaticallyOpened; */
Method {
name: "GetPasswordPopupAutomaticallyOpened",
params: &[Param { name: "aPasswordPopupAutomaticallyOpened", ty: "*mut bool" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void markAsAutoCompletableField (in Element aElement); */
Method {
name: "MarkAsAutoCompletableField",
params: &[Param { name: "aElement", ty: "*const libc::c_void" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void showPopup (); */
Method {
name: "ShowPopup",
params: &[],
ret: "::nserror::nsresult",
},
/* void addFocusListener (in nsIFormFillFocusListener listener); */
Method {
name: "AddFocusListener",
params: &[Param { name: "listener", ty: "*const nsIFormFillFocusListener" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIFormFillCompleteObserver",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* [can_run_script] void onSearchCompletion (in nsIAutoCompleteResult result); */
Method {
name: "OnSearchCompletion",
params: &[Param { name: "result", ty: "*const nsIAutoCompleteResult" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}