mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
LibWeb: Implement NavigateEvent AOs that are called during event firing
The potentially scroll/focus and finish AOs are called by the inner navigate event firing algorithm. Implement them beforehand to make the diff look pretty :^).
This commit is contained in:
parent
e05a6f6aa2
commit
2a24dda44d
3 changed files with 95 additions and 1 deletions
|
@ -110,9 +110,12 @@ public:
|
|||
|
||||
virtual ~Navigation() override;
|
||||
|
||||
// Internal Getters
|
||||
// Internal Getters/Setters
|
||||
JS::GCPtr<NavigateEvent> ongoing_navigate_event() const { return m_ongoing_navigate_event; }
|
||||
|
||||
bool focus_changed_during_ongoing_navigation() const { return m_focus_changed_during_ongoing_navigation; }
|
||||
void set_focus_changed_during_ongoing_navigation(bool b) { m_focus_changed_during_ongoing_navigation = b; }
|
||||
|
||||
private:
|
||||
explicit Navigation(JS::Realm&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue