From 9f7fde2aca7061d3a66617fddcc6dd27f7b26825 Mon Sep 17 00:00:00 2001 From: "myk@mozilla.org" Date: Mon, 7 May 2007 03:52:53 -0700 Subject: [PATCH] bug 368272: notify observers when microsummary generators are installed or updated to improve the API for extensions that add generator-related functionality (like Microsummary Manager)Patch by Ryan Flint.r=myk --- .../public/nsIMicrosummaryServiceNonPlaces.idl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/browser/components/microsummaries/public/nsIMicrosummaryServiceNonPlaces.idl b/browser/components/microsummaries/public/nsIMicrosummaryServiceNonPlaces.idl index 26f8ea180958..3408c2879966 100644 --- a/browser/components/microsummaries/public/nsIMicrosummaryServiceNonPlaces.idl +++ b/browser/components/microsummaries/public/nsIMicrosummaryServiceNonPlaces.idl @@ -35,7 +35,7 @@ interface nsIMicrosummaryObserver : nsISupports }; -[scriptable, uuid(67ffe6b0-d4db-485c-ba20-5e2e8319b78d)] +[scriptable, uuid(71c469b4-6e31-427e-922d-48aafbd17344)] interface nsIMicrosummaryGenerator : nsISupports { // Has the generator itself, which may be a remote resource, been loaded. @@ -62,6 +62,11 @@ interface nsIMicrosummaryGenerator : nsISupports // of the generators they create. readonly attribute nsIURI uri; + // For generators installed by the user or bundled with the browser, the + // local URI points to the location of the local file containing the + // generator's XML. + readonly attribute nsIURI localURI; + // Whether or not this generator needs page content to generate // a microsummary. Microsummaries generated by XSLT templates need page // content, while those which represent the actual microsummary content