Copy as Markdown

Other Tools

//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsIMockDragServiceController.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIMockDragServiceController",
base: Some("nsISupports"),
sync: false,
methods: Ok(&[
/* readonly attribute nsIDragService mockDragService; */
Method {
name: "GetMockDragService",
params: &[Param { name: "aMockDragService", ty: "*mut*const nsIDragService" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void sendEvent (in BrowsingContext aBC, in nsIMockDragServiceController_EventType aEventType, in long aScreenX, in long aScreenY, [optional] in uint32_t aKeyModifiers); */
Method {
name: "SendEvent",
params: &[Param { name: "aBC", ty: "*const libc::c_void" }, Param { name: "aEventType", ty: " u8" }, Param { name: "aScreenX", ty: "i32" }, Param { name: "aScreenY", ty: "i32" }, Param { name: "aKeyModifiers", ty: "u32" }],
ret: "::nserror::nsresult",
},
/* [can_run_script] void cancelDrag ([optional] in uint32_t aKeyModifiers); */
Method {
name: "CancelDrag",
params: &[Param { name: "aKeyModifiers", ty: "u32" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}