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
|
@ -267,6 +267,8 @@ class NativeWindow : public base::SupportsUserData,
|
|||
virtual void SetMenuBarVisibility(bool visible) {}
|
||||
virtual bool IsMenuBarVisible() const;
|
||||
|
||||
virtual bool IsSnapped() const;
|
||||
|
||||
// Set the aspect ratio when resizing window.
|
||||
[[nodiscard]] double aspect_ratio() const { return aspect_ratio_; }
|
||||
[[nodiscard]] gfx::Size aspect_ratio_extra_size() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue