mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 352093. Part 13: Remove nsIViewManager::GetWidget since no-one should be using it. r=bzbarsky
This commit is contained in:
parent
d520aa9f3f
commit
20c4a2900f
@ -60,8 +60,8 @@ enum nsRectVisibility {
|
||||
};
|
||||
|
||||
#define NS_IVIEWMANAGER_IID \
|
||||
{ 0x50c0a18c, 0x3e39, 0x4606, \
|
||||
{ 0x85, 0x77, 0xe7, 0x3a, 0xcc, 0xb4, 0x66, 0xc9 } }
|
||||
{ 0x739bbc2b, 0x5c45, 0x40bb, \
|
||||
{ 0xb0, 0xbc, 0xe3, 0x1c, 0xe0, 0xf2, 0x19, 0xc2 } }
|
||||
|
||||
class nsIViewManager : public nsISupports
|
||||
{
|
||||
@ -416,13 +416,6 @@ public:
|
||||
*/
|
||||
NS_IMETHOD GetRootScrollableView(nsIScrollableView **aScrollable) = 0;
|
||||
|
||||
/**
|
||||
* Retrieve the widget at the root of the view manager. This is the
|
||||
* widget associated with the root view, if the root view exists and has
|
||||
* a widget.
|
||||
*/
|
||||
NS_IMETHOD GetWidget(nsIWidget **aWidget) = 0;
|
||||
|
||||
/**
|
||||
* Retrieve the widget at the root of the nearest enclosing
|
||||
* view manager whose root view has a widget.
|
||||
|
@ -1868,13 +1868,6 @@ NS_IMETHODIMP nsViewManager::GetRootScrollableView(nsIScrollableView **aScrollab
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsViewManager::GetWidget(nsIWidget **aWidget)
|
||||
{
|
||||
*aWidget = GetWidget();
|
||||
NS_IF_ADDREF(*aWidget);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP nsViewManager::GetRootWidget(nsIWidget **aWidget)
|
||||
{
|
||||
if (!mRootView) {
|
||||
|
@ -171,8 +171,6 @@ public:
|
||||
NS_IMETHOD SetRootScrollableView(nsIScrollableView *aScrollable);
|
||||
NS_IMETHOD GetRootScrollableView(nsIScrollableView **aScrollable);
|
||||
|
||||
NS_IMETHOD GetWidget(nsIWidget **aWidget);
|
||||
nsIWidget* GetWidget() { return mRootView ? mRootView->GetWidget() : nsnull; }
|
||||
NS_IMETHOD GetRootWidget(nsIWidget **aWidget);
|
||||
NS_IMETHOD ForceUpdate();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user