From 0d4bb8e3556950a2f80fcec1176b35eaad941e19 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Mon, 29 May 2006 17:20:31 +0000 Subject: [PATCH] Bug 337751: expose description attribute on nsISearchEngine, r=mconnor --- .../search/nsIBrowserSearchService.idl | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/browser/components/search/nsIBrowserSearchService.idl b/browser/components/search/nsIBrowserSearchService.idl index a4aa93fe50c5..2030fd421b56 100755 --- a/browser/components/search/nsIBrowserSearchService.idl +++ b/browser/components/search/nsIBrowserSearchService.idl @@ -56,7 +56,7 @@ interface nsISearchSubmission : nsISupports readonly attribute nsIURI uri; }; -[scriptable, uuid(b64edb5b-4d05-44df-b9bf-2098d9069f88)] +[scriptable, uuid(d8ceea19-d004-4206-a614-bef9849a2cc9)] interface nsISearchEngine : nsISupports { /** @@ -107,16 +107,16 @@ interface nsISearchEngine : nsISupports */ attribute AString alias; + /** + * A text description describing the engine. + */ + readonly attribute AString description; + /** * Whether the engine should be hidden from the user. */ attribute boolean hidden; - /** - * A URI object for retrieving suggested searches - */ - readonly attribute nsIURI suggestionURI; - /** * A nsIURI corresponding to the engine's icon, stored locally. May be null. */ @@ -127,16 +127,21 @@ interface nsISearchEngine : nsISupports */ readonly attribute AString name; - /** - * The search engine type. - */ - readonly attribute long type; - /** * A URL string pointing to the engine's search form. */ readonly attribute AString searchForm; + /** + * A URI object for retrieving suggested searches. + */ + readonly attribute nsIURI suggestionURI; + + /** + * The search engine type. + */ + readonly attribute long type; + }; [scriptable, uuid(5bcbc35a-8514-4583-9ef1-5bf5d10327f4)]