1/* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5#include "nsISupports.idl" 6 7interface nsIAutoCompleteResult; 8 9webidl HTMLInputElement; 10 11[scriptable, uuid(0e33de3e-4faf-4a1a-b96e-24115b8bfd45)] 12interface nsIInputListAutoComplete: nsISupports { 13 /** 14 * Generate results for a form input autocomplete menu. 15 */ 16 nsIAutoCompleteResult autoCompleteSearch(in AString aSearchString, 17 in HTMLInputElement aField); 18}; 19