toolkit/components/satchel/nsIInputListAutoComplete.idl
author Paul Adenot <paul@paul.cx>
Tue, 04 Sep 2012 16:22:34 -0700
changeset 104356 a027c9d63d20d697f61832f324077eb0c8cbef7c
parent 94484 f4157e8c410708d76703f19e4dfb61859bfe32d8
child 246066 7837f943758cc3b55f47eec6543f17fa689bb4f3
permissions -rw-r--r--
Bug 567077 - Sniff types of media files that are served with no Content-Type. r=cpearce

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIAutoCompleteResult;
interface nsIDOMHTMLInputElement;

[scriptable, uuid(9e7ba3eb-a9cf-4861-93e0-82e93d836f7a)]

interface nsIInputListAutoComplete: nsISupports {
  /**
   * Generate results for a form input autocomplete menu.
   */
  nsIAutoCompleteResult autoCompleteSearch(in nsIAutoCompleteResult aResult,
                                           in AString aSearchString,
                                           in nsIDOMHTMLInputElement aField);
};