mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 825866. Part 5: Remove NS_IMETHOD declarations that aren't needed anymore. r=tnikkel
This commit is contained in:
parent
ef9b45c5d9
commit
4c11563f7f
@ -362,7 +362,7 @@ public:
|
||||
* changed.
|
||||
* @param visibility new visibility state
|
||||
*/
|
||||
NS_IMETHOD SetVisibility(nsViewVisibility visibility);
|
||||
void SetVisibility(nsViewVisibility visibility);
|
||||
|
||||
/**
|
||||
* Called to indicate that the z-index of a view has been changed.
|
||||
@ -383,7 +383,7 @@ public:
|
||||
* views that need to be drawn in front of all other views.
|
||||
* @result true if the view floats, false otherwise.
|
||||
*/
|
||||
NS_IMETHOD SetFloating(bool aFloatingView);
|
||||
void SetFloating(bool aFloatingView);
|
||||
|
||||
// Helper function to get mouse grabbing off this view (by moving it to the
|
||||
// parent, if we can)
|
||||
|
@ -331,28 +331,18 @@ void nsIView::NotifyEffectiveVisibilityChanged(bool aEffectivelyVisible)
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsIView::SetVisibility(nsViewVisibility aVisibility)
|
||||
void nsIView::SetVisibility(nsViewVisibility aVisibility)
|
||||
{
|
||||
mVis = aVisibility;
|
||||
NotifyEffectiveVisibilityChanged(IsEffectivelyVisible());
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsIView::SetFloating(bool aFloatingView)
|
||||
void nsIView::SetFloating(bool aFloatingView)
|
||||
{
|
||||
if (aFloatingView)
|
||||
mVFlags |= NS_VIEW_FLAG_FLOATING;
|
||||
else
|
||||
mVFlags &= ~NS_VIEW_FLAG_FLOATING;
|
||||
|
||||
#if 0
|
||||
// recursively make all sub-views "floating" grr.
|
||||
for (nsIView* child = mFirstChild; chlid; child = child->GetNextSibling()) {
|
||||
child->SetFloating(aFloatingView);
|
||||
}
|
||||
#endif
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void nsIView::InvalidateHierarchy(nsViewManager *aViewManagerParent)
|
||||
|
Loading…
Reference in New Issue
Block a user