2014-03-27 21:03:03 -07:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* 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/.
|
|
|
|
*/
|
|
|
|
|
|
|
|
[JSImplementation="@mozilla.org/sidebar;1"]
|
|
|
|
interface External
|
|
|
|
{
|
2014-12-21 09:06:33 -08:00
|
|
|
[UnsafeInPrerendering] void AddSearchProvider(DOMString aDescriptionURL);
|
2014-03-27 21:03:03 -07:00
|
|
|
unsigned long IsSearchProviderInstalled(DOMString aSearchURL);
|
|
|
|
};
|
|
|
|
|
|
|
|
// Mozilla extension
|
|
|
|
partial interface External {
|
2015-09-23 03:05:37 -07:00
|
|
|
[UnsafeInPrerendering, UseCounter]
|
|
|
|
void addSearchEngine(DOMString engineURL, DOMString iconURL,
|
|
|
|
DOMString suggestedTitle, DOMString suggestedCategory);
|
2014-03-27 21:03:03 -07:00
|
|
|
};
|