mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 457353, Remove nsIListBoxObject::listboxBody
r+sr=bzbarsky
This commit is contained in:
parent
ec250c005f
commit
4bdd7e393e
@ -41,13 +41,9 @@
|
||||
|
||||
interface nsIDOMElement;
|
||||
|
||||
[scriptable, uuid(FDE7C970-0B4E-49f4-B1EB-974AE6C96336)]
|
||||
[scriptable, uuid(AA9DEF4E-2E59-412d-A6DF-B76F52167795)]
|
||||
interface nsIListBoxObject : nsISupports
|
||||
{
|
||||
// listboxBody is always null. It's only here to avoid changing the
|
||||
// interface.
|
||||
readonly attribute nsIListBoxObject listboxBody;
|
||||
|
||||
long getRowCount();
|
||||
long getNumberOfVisibleRows();
|
||||
long getIndexOfFirstVisibleRow();
|
||||
|
@ -500,14 +500,6 @@ nsListBoxBodyFrame::ReflowCallbackCanceled()
|
||||
|
||||
///////// nsIListBoxObject ///////////////
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsListBoxBodyFrame::GetListboxBody(nsIListBoxObject * *aListboxBody)
|
||||
{
|
||||
*aListboxBody = this;
|
||||
NS_IF_ADDREF(*aListboxBody);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsListBoxBodyFrame::GetRowCount(PRInt32* aResult)
|
||||
{
|
||||
|
@ -79,13 +79,6 @@ nsListBoxObject::nsListBoxObject()
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
//// nsIListBoxObject
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsListBoxObject::GetListboxBody(nsIListBoxObject * *aListboxBody)
|
||||
{
|
||||
*aListboxBody = nsnull;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsListBoxObject::GetRowCount(PRInt32 *aResult)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user