Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
This commit is contained in:
@@ -98,8 +98,6 @@ public:
|
||||
NS_IMETHOD GetCursor(const nsPoint& aPoint,
|
||||
nsIFrame::Cursor& aCursor);
|
||||
|
||||
virtual void MouseClicked(nsPresContext* aPresContext);
|
||||
|
||||
NS_IMETHOD_(PRInt32) GetFormControlType() const;
|
||||
|
||||
NS_IMETHOD GetName(nsAString* aName);
|
||||
@@ -317,13 +315,6 @@ nsImageControlFrame::GetCursor(const nsPoint& aPoint,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
nsImageControlFrame::MouseClicked(nsPresContext* aPresContext)
|
||||
{
|
||||
// This is no longer called; click events are handled in
|
||||
// nsHTMLInputElement::HandleDOMEvent().
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsImageControlFrame::GetFormContent(nsIContent*& aContent) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user