Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/satchel/nsIFormFillController.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIFormFillController",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute HTMLInputElement focusedInput; */
Method {
name: "GetFocusedInput",
params: &[Param { name: "aFocusedInput", ty: "*mut *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 HTMLInputElement aInput); */
Method {
name: "MarkAsAutoCompletableField",
params: &[Param { name: "aInput", ty: "*const libc::c_void" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void showPopup (); */
Method {
name: "ShowPopup",
params: &[],
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}