зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
d8c784e813
Коммит
9f7fde2aca
|
@ -35,7 +35,7 @@ interface nsIMicrosummaryObserver : nsISupports
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
[scriptable, uuid(67ffe6b0-d4db-485c-ba20-5e2e8319b78d)]
|
[scriptable, uuid(71c469b4-6e31-427e-922d-48aafbd17344)]
|
||||||
interface nsIMicrosummaryGenerator : nsISupports
|
interface nsIMicrosummaryGenerator : nsISupports
|
||||||
{
|
{
|
||||||
// Has the generator itself, which may be a remote resource, been loaded.
|
// Has the generator itself, which may be a remote resource, been loaded.
|
||||||
|
@ -62,6 +62,11 @@ interface nsIMicrosummaryGenerator : nsISupports
|
||||||
// of the generators they create.
|
// of the generators they create.
|
||||||
readonly attribute nsIURI uri;
|
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
|
// Whether or not this generator needs page content to generate
|
||||||
// a microsummary. Microsummaries generated by XSLT templates need page
|
// a microsummary. Microsummaries generated by XSLT templates need page
|
||||||
// content, while those which represent the actual microsummary content
|
// content, while those which represent the actual microsummary content
|
||||||
|
|
Загрузка…
Ссылка в новой задаче