feat: include resize edge with will-resize event (#29199)
* feat: emit resize edge with will-resize event fix: wparam type fix: private member usage on mac docs: will-resize event edge option refactor: 'info' -> 'details' for better type gen * Update docs/api/browser-window.md Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com> * Update docs/api/browser-window.md Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com>
This commit is contained in:
parent
750a762bf0
commit
f9d2a7077e
11 changed files with 104 additions and 4 deletions
|
@ -32,6 +32,7 @@ class Image;
|
|||
class Point;
|
||||
class Rect;
|
||||
class RectF;
|
||||
enum class ResizeEdge;
|
||||
class Size;
|
||||
} // namespace gfx
|
||||
|
||||
|
@ -275,6 +276,7 @@ class NativeWindow : public base::SupportsUserData,
|
|||
void NotifyWindowRestore();
|
||||
void NotifyWindowMove();
|
||||
void NotifyWindowWillResize(const gfx::Rect& new_bounds,
|
||||
const gfx::ResizeEdge& edge,
|
||||
bool* prevent_default);
|
||||
void NotifyWindowResize();
|
||||
void NotifyWindowResized();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue