feat: add BrowserWindow.isSnapped()
(#46079)
* feat: add BrowserWindow.isSnapped() on Windows * docs: mark _Readonly_
This commit is contained in:
parent
47cf4e7bfd
commit
9ec14b91e7
8 changed files with 52 additions and 0 deletions
|
@ -489,6 +489,10 @@ void NativeWindow::SetAspectRatio(double aspect_ratio,
|
|||
aspect_ratio_extraSize_ = extra_size;
|
||||
}
|
||||
|
||||
bool NativeWindow::IsSnapped() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
std::optional<gfx::Rect> NativeWindow::GetWindowControlsOverlayRect() {
|
||||
return overlay_rect_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue