WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIContentPrefObserver

IID:746c7a02-f6c1-4869-b434-7c8b86e60e61
Inherits From:nsISupports

Methods

void onContentPrefRemoved ( AString group , AString name ) void onContentPrefSet ( AString group , AString name , nsIVariant value )

void onContentPrefRemoved ( AString group , AString name )

Called when a content pref is removed.

Arguments:
group: the group to which the pref belongs, or null if it's a global pref (applies to all URIs)
name: the name of the pref that was removed

void onContentPrefSet ( AString group , AString name , nsIVariant value )

Called when a content pref is set to a different value.

Arguments:
group: the group to which the pref belongs, or null if it's a global pref (applies to all URIs)
name: the name of the pref that was set
value: the new value of the pref

References

This interface is passed as an argument to the following methods:

nsIContentPrefService.addObserver, nsIContentPrefService.removeObserver

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com