mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
WebContent: Notify client when web content selection changes
The WebContentView widgets reacts to this by requesting a repaint.
This commit is contained in:
parent
8476e3933b
commit
a4b5350aff
7 changed files with 27 additions and 0 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
|
||||
void notify_server_did_paint(Badge<WebContentClient>, i32 shbuf_id);
|
||||
void notify_server_did_invalidate_content_rect(Badge<WebContentClient>, const Gfx::IntRect&);
|
||||
void notify_server_did_change_selection(Badge<WebContentClient>);
|
||||
|
||||
private:
|
||||
WebContentView();
|
||||
|
@ -50,6 +51,8 @@ private:
|
|||
virtual void mouseup_event(GUI::MouseEvent&) override;
|
||||
virtual void mousemove_event(GUI::MouseEvent&) override;
|
||||
|
||||
void request_repaint();
|
||||
|
||||
WebContentClient& client();
|
||||
|
||||
RefPtr<WebContentClient> m_client;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue