feat: 'will-move' event for windows. (#14283)

* feat: 'will-resize' window event (Windows only)

* documentation for 'will-move' event

* comment and line break fix in docs
This commit is contained in:
Siddharth Dalal 2018-08-28 09:44:10 -04:00 committed by Charles Kerr
parent f1fe485768
commit afdb6c5f90
7 changed files with 37 additions and 1 deletions

View file

@ -63,6 +63,8 @@ class TopLevelWindow : public mate::TrackableObject<TopLevelWindow>,
void OnWindowWillResize(const gfx::Rect& new_bounds,
bool* prevent_default) override;
void OnWindowResize() override;
void OnWindowWillMove(const gfx::Rect& new_bounds,
bool* prevent_default) override;
void OnWindowMove() override;
void OnWindowMoved() override;
void OnWindowScrollTouchBegin() override;