added accessors for additional style contexts
git-svn-id: svn://10.0.0.236/trunk@45966 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -598,6 +598,20 @@ NS_IMETHODIMP nsHTMLButtonControlFrame::GetProperty(nsIAtom* aName, nsString& aV
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLButtonControlFrame::GetAdditionalStyleContext(PRInt32 aIndex,
|
||||
nsIStyleContext** aStyleContext) const
|
||||
{
|
||||
return mRenderer.GetStyleContext(aIndex, aStyleContext);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLButtonControlFrame::SetAdditionalStyleContext(PRInt32 aIndex,
|
||||
nsIStyleContext* aStyleContext)
|
||||
{
|
||||
return mRenderer.SetStyleContext(aIndex, aStyleContext);
|
||||
}
|
||||
|
||||
//
|
||||
// ReResolveStyleContext
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user