michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: */ michael@0: michael@0: [JSImplementation="@mozilla.org/sidebar;1"] michael@0: interface External michael@0: { michael@0: void AddSearchProvider(DOMString aDescriptionURL); michael@0: unsigned long IsSearchProviderInstalled(DOMString aSearchURL); michael@0: }; michael@0: michael@0: // Mozilla extension michael@0: partial interface External { michael@0: void addSearchEngine(DOMString engineURL, DOMString iconURL, michael@0: DOMString suggestedTitle, DOMString suggestedCategory); michael@0: };