Bug 504975. Go back to overriding HandleMultiplePress on various XUL frames. r=roc

This commit is contained in:
Boris Zbarsky 2009-07-28 08:53:20 -04:00
parent a2aaeadc49
commit 2a109b5e0a
6 changed files with 18 additions and 12 deletions

View File

@ -75,8 +75,9 @@ public:
nsEventStatus* aEventStatus);
NS_IMETHOD HandleMultiplePress(nsPresContext* aPresContext,
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus) { return NS_OK; }
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus,
PRBool aControlHeld) { return NS_OK; }
NS_IMETHOD HandleDrag(nsPresContext* aPresContext,
nsGUIEvent * aEvent,

View File

@ -149,8 +149,9 @@ nsScrollbarFrame::HandlePress(nsPresContext* aPresContext,
NS_IMETHODIMP
nsScrollbarFrame::HandleMultiplePress(nsPresContext* aPresContext,
nsGUIEvent* aEvent,
nsEventStatus* aEventStatus)
nsGUIEvent* aEvent,
nsEventStatus* aEventStatus,
PRBool aControlHeld)
{
return NS_OK;
}

View File

@ -73,8 +73,9 @@ public:
nsEventStatus* aEventStatus);
NS_IMETHOD HandleMultiplePress(nsPresContext* aPresContext,
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus);
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus,
PRBool aControlHeld);
NS_IMETHOD HandleDrag(nsPresContext* aPresContext,
nsGUIEvent * aEvent,

View File

@ -191,8 +191,9 @@ public:
nsEventStatus* aEventStatus);
NS_IMETHOD HandleMultiplePress(nsPresContext* aPresContext,
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus) { return NS_OK; }
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus,
PRBool aControlHeld) { return NS_OK; }
NS_IMETHOD HandleDrag(nsPresContext* aPresContext,
nsGUIEvent * aEvent,

View File

@ -394,8 +394,9 @@ nsSplitterFrame::HandlePress(nsPresContext* aPresContext,
NS_IMETHODIMP
nsSplitterFrame::HandleMultiplePress(nsPresContext* aPresContext,
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus)
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus,
PRBool aControlHeld)
{
return NS_OK;
}

View File

@ -80,8 +80,9 @@ public:
nsEventStatus* aEventStatus);
NS_IMETHOD HandleMultiplePress(nsPresContext* aPresContext,
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus);
nsGUIEvent * aEvent,
nsEventStatus* aEventStatus,
PRBool aControlHeld);
NS_IMETHOD HandleDrag(nsPresContext* aPresContext,
nsGUIEvent * aEvent,