Fixing build bustage. Sorry!
git-svn-id: svn://10.0.0.236/trunk@16543 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -330,5 +330,7 @@ void nsHTTreeDataModel::NotifyError(nsIImageRequest *aImageRequest,
|
||||
nsHierarchicalDataItem* nsHTTreeDataModel::CreateDataItemWithContentNode(nsIContent* pContent)
|
||||
{
|
||||
nsHTTreeItem* pItem = new nsHTTreeItem(pContent, this);
|
||||
|
||||
// Register our item as an event listener on the DOM node.
|
||||
return pItem;
|
||||
}
|
||||
|
||||
@@ -306,6 +306,7 @@ void nsTreeView::HandleMouseUp(nsGUIEvent* aEvent)
|
||||
// The background of the tree view, the trigger for a node,
|
||||
// or the text in a specific column.
|
||||
PRUint32 row, column;
|
||||
nsHitLocation type;
|
||||
DetermineHitLocation(mCachedMovePoint, row, column, type);
|
||||
|
||||
// If the user boinked the trigger, then we need to open or close the node.
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
class nsIImageGroup;
|
||||
class nsIImage;
|
||||
|
||||
enum nsHitLocation { eTriggerHit, eContentHit, eBackgroundHit };
|
||||
|
||||
//------------------------------------------------------------
|
||||
// A tree view consists of several components: a title bar, a control strip,
|
||||
@@ -118,7 +119,6 @@ protected:
|
||||
void HandleMouseUp(nsGUIEvent* aEvent);
|
||||
|
||||
// Helper for determining hit locations.
|
||||
enum nsHitLocation { eTriggerHit, eContentHit, eBackgroundHit };
|
||||
void DetermineHitLocation(const nsPoint& point,
|
||||
PRUint32& row, PRUint32& column, nsHitLocation& location);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user