summaryrefslogtreecommitdiffstats
path: root/toolkit/components/satchel/nsIFormFillController.idl
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/satchel/nsIFormFillController.idl')
-rw-r--r--toolkit/components/satchel/nsIFormFillController.idl14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolkit/components/satchel/nsIFormFillController.idl b/toolkit/components/satchel/nsIFormFillController.idl
index 25bd2d6738..24d9bf8193 100644
--- a/toolkit/components/satchel/nsIFormFillController.idl
+++ b/toolkit/components/satchel/nsIFormFillController.idl
@@ -5,6 +5,7 @@
#include "nsISupports.idl"
interface nsIAutoCompletePopup;
+interface nsIAutoCompleteResult;
webidl Document;
webidl Element;
@@ -67,3 +68,16 @@ interface nsIFormFillController : nsISupports
*/
[can_run_script] void showPopup();
};
+
+[scriptable, function, uuid(604419ab-55a0-4831-9eca-1b9e67cc4751)]
+interface nsIFormFillCompleteObserver : nsISupports
+{
+ /*
+ * Called when a search is complete and the results are ready even if the
+ * result set is empty. If the search is cancelled or a new search is
+ * started, this is not called.
+ *
+ * @param result - The search result object
+ */
+ [can_run_script] void onSearchCompletion(in nsIAutoCompleteResult result);
+};