revert: add BrowserWindow.isOccluded()

This reverts commit 768ece6b54.
This commit is contained in:
Shelley Vohr 2024-02-12 09:35:34 +01:00 committed by GitHub
parent 4ded4d16a8
commit 5f785f213e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 2 additions and 89 deletions

View file

@ -355,10 +355,6 @@ bool BaseWindow::IsVisible() const {
return window_->IsVisible();
}
bool BaseWindow::IsOccluded() const {
return window_->IsOccluded();
}
bool BaseWindow::IsEnabled() const {
return window_->IsEnabled();
}
@ -1090,7 +1086,6 @@ void BaseWindow::BuildPrototype(v8::Isolate* isolate,
.SetMethod("showInactive", &BaseWindow::ShowInactive)
.SetMethod("hide", &BaseWindow::Hide)
.SetMethod("isVisible", &BaseWindow::IsVisible)
.SetMethod("isOccluded", &BaseWindow::IsOccluded)
.SetMethod("isEnabled", &BaseWindow::IsEnabled)
.SetMethod("setEnabled", &BaseWindow::SetEnabled)
.SetMethod("maximize", &BaseWindow::Maximize)