feat: add 'resized' event to BrowserWindow (#26216)
Also adds 'moved' event to BrowserWindow on Windows.
This commit is contained in:
parent
bb3fb548d8
commit
83d30c5c2a
10 changed files with 59 additions and 3 deletions
|
@ -283,6 +283,12 @@ class NativeWindowViews : public NativeWindow,
|
|||
|
||||
// Whether we want to set window placement without side effect.
|
||||
bool is_setting_window_placement_ = false;
|
||||
|
||||
// Whether the window is currently being resized.
|
||||
bool is_resizing_ = false;
|
||||
|
||||
// Whether the window is currently being moved.
|
||||
bool is_moving_ = false;
|
||||
#endif
|
||||
|
||||
// Handles unhandled keyboard messages coming back from the renderer process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue