changes to api for selection listeners
git-svn-id: svn://10.0.0.236/trunk@65978 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
55078146c7
commit
63c6a3cb7b
@ -66,7 +66,7 @@ TypeInState::~TypeInState()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMETHODIMP TypeInState::NotifySelectionChanged()
|
||||
NS_IMETHODIMP TypeInState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
|
||||
{
|
||||
Reset();
|
||||
return NS_OK;
|
||||
|
||||
@ -48,7 +48,7 @@ public:
|
||||
void Reset();
|
||||
virtual ~TypeInState();
|
||||
|
||||
NS_IMETHOD NotifySelectionChanged();
|
||||
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
|
||||
|
||||
nsresult SetProp(nsIAtom *aProp);
|
||||
nsresult SetProp(nsIAtom *aProp, const nsString &aAttr);
|
||||
|
||||
@ -124,7 +124,7 @@ nsInterfaceState::NotifyDocumentStateChanged(PRBool aNowDirty)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsInterfaceState::NotifySelectionChanged()
|
||||
nsInterfaceState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
|
||||
{
|
||||
return PrimeUpdateTimer();
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD ForceUpdate();
|
||||
|
||||
// nsIDOMSelectionListener interface
|
||||
NS_IMETHOD NotifySelectionChanged();
|
||||
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
|
||||
|
||||
NS_DECL_NSIDOCUMENTSTATELISTENER
|
||||
|
||||
|
||||
@ -124,7 +124,7 @@ nsInterfaceState::NotifyDocumentStateChanged(PRBool aNowDirty)
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsInterfaceState::NotifySelectionChanged()
|
||||
nsInterfaceState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
|
||||
{
|
||||
return PrimeUpdateTimer();
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD ForceUpdate();
|
||||
|
||||
// nsIDOMSelectionListener interface
|
||||
NS_IMETHOD NotifySelectionChanged();
|
||||
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
|
||||
|
||||
NS_DECL_NSIDOCUMENTSTATELISTENER
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@ TypeInState::~TypeInState()
|
||||
{
|
||||
}
|
||||
|
||||
NS_IMETHODIMP TypeInState::NotifySelectionChanged()
|
||||
NS_IMETHODIMP TypeInState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *)
|
||||
{
|
||||
Reset();
|
||||
return NS_OK;
|
||||
|
||||
@ -48,7 +48,7 @@ public:
|
||||
void Reset();
|
||||
virtual ~TypeInState();
|
||||
|
||||
NS_IMETHOD NotifySelectionChanged();
|
||||
NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel);
|
||||
|
||||
nsresult SetProp(nsIAtom *aProp);
|
||||
nsresult SetProp(nsIAtom *aProp, const nsString &aAttr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user