Bug 1882358 Part 3: Remove nsIWidget::IsResizingNativeWidget, which is no longer used. r=nical

Differential Revision: https://phabricator.services.mozilla.com/D202868
This commit is contained in:
Brad Werth 2024-02-28 17:50:39 +00:00
parent ca2d2f1926
commit 8db6f9adbf
3 changed files with 0 additions and 12 deletions

View file

@ -784,10 +784,6 @@ class nsIWidget : public nsISupports {
virtual void Resize(double aX, double aY, double aWidth, double aHeight,
bool aRepaint) = 0;
virtual mozilla::Maybe<bool> IsResizingNativeWidget() {
return mozilla::Nothing();
}
/**
* Resize the widget so that the inner client area has the given size.
*

View file

@ -2051,13 +2051,6 @@ void nsWindow::Resize(double aX, double aY, double aWidth, double aHeight,
if (aRepaint) Invalidate();
}
mozilla::Maybe<bool> nsWindow::IsResizingNativeWidget() {
if (mResizeState == RESIZING) {
return Some(true);
}
return Some(false);
}
/**************************************************************
*
* SECTION: Window Z-order and state.

View file

@ -175,7 +175,6 @@ class nsWindow final : public nsBaseWidget {
void Resize(double aWidth, double aHeight, bool aRepaint) override;
void Resize(double aX, double aY, double aWidth, double aHeight,
bool aRepaint) override;
mozilla::Maybe<bool> IsResizingNativeWidget() override;
void PlaceBehind(nsTopLevelWidgetZPlacement aPlacement, nsIWidget* aWidget,
bool aActivate) override;
void SetSizeMode(nsSizeMode aMode) override;