toolkit/components/satchel/nsIFormAutoComplete.idl
author Gregory Szorc <gps@mozilla.com>
Wed, 28 Jan 2015 13:37:00 -0800
branchMOBILE170_2012100914_RELBRANCH
changeset 110535 efe7dc56f512e78244990f3b1fb8dff3b4d69dcd
parent 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Close old release branch MOBILE170_2012100914_RELBRANCH

/* 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(997c0c05-5d1d-47e5-9cbc-765c0b8ec699)]

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