mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-07 09:13:12 +00:00
modified for new view flags.
This commit is contained in:
parent
46d4754a52
commit
768d09d96e
@ -2088,7 +2088,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
|
||||
nsIView *listView;
|
||||
listFrame->GetView(&listView);
|
||||
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
|
||||
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
|
||||
// Create a place holder frame for the dropdown list
|
||||
nsIFrame* placeholderFrame = nsnull;
|
||||
@ -2153,7 +2153,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
|
||||
nsIView *listView;
|
||||
listFrame->GetView(&listView);
|
||||
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
|
||||
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
aFrameHasBeenInitialized = PR_TRUE;
|
||||
}
|
||||
NS_RELEASE(select);
|
||||
|
@ -1411,7 +1411,7 @@ nsHTMLFramesetFrame::StartMouseDrag(nsIPresContext& aPresContext,
|
||||
mDragger = aBorder;
|
||||
|
||||
//XXX This should go away! Border should have own view instead
|
||||
view->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
view->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
|
||||
// can't set it to this event's point - it is not in framesetframe coords
|
||||
mLastDragPoint.MoveTo(NULL_POINT_X, NULL_POINT_Y);
|
||||
@ -1503,7 +1503,7 @@ nsHTMLFramesetFrame::EndMouseDrag()
|
||||
viewMan->GrabMouseEvents(nsnull, ignore);
|
||||
NS_RELEASE(viewMan);
|
||||
//XXX This should go away! Border should have own view instead
|
||||
view->ClearViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
view->ClearViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
}
|
||||
}
|
||||
gDragInProgress = PR_FALSE;
|
||||
|
@ -1411,7 +1411,7 @@ nsHTMLFramesetFrame::StartMouseDrag(nsIPresContext& aPresContext,
|
||||
mDragger = aBorder;
|
||||
|
||||
//XXX This should go away! Border should have own view instead
|
||||
view->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
view->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
|
||||
// can't set it to this event's point - it is not in framesetframe coords
|
||||
mLastDragPoint.MoveTo(NULL_POINT_X, NULL_POINT_Y);
|
||||
@ -1503,7 +1503,7 @@ nsHTMLFramesetFrame::EndMouseDrag()
|
||||
viewMan->GrabMouseEvents(nsnull, ignore);
|
||||
NS_RELEASE(viewMan);
|
||||
//XXX This should go away! Border should have own view instead
|
||||
view->ClearViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
view->ClearViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
}
|
||||
}
|
||||
gDragInProgress = PR_FALSE;
|
||||
|
@ -2088,7 +2088,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
|
||||
nsIView *listView;
|
||||
listFrame->GetView(&listView);
|
||||
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
|
||||
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
|
||||
// Create a place holder frame for the dropdown list
|
||||
nsIFrame* placeholderFrame = nsnull;
|
||||
@ -2153,7 +2153,7 @@ nsCSSFrameConstructor::ConstructSelectFrame(nsIPresContext* aPresContext,
|
||||
nsIView *listView;
|
||||
listFrame->GetView(&listView);
|
||||
NS_ASSERTION(nsnull != listView,"ListFrame's view is nsnull");
|
||||
listView->SetViewFlags(NS_VIEW_FLAG_DONT_CHECK_CHILDREN);
|
||||
listView->SetViewFlags(NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN);
|
||||
aFrameHasBeenInitialized = PR_TRUE;
|
||||
}
|
||||
NS_RELEASE(select);
|
||||
|
Loading…
x
Reference in New Issue
Block a user