mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Add flag to send live updates to devtools.
This commit is contained in:
parent
0beb070d48
commit
5345edf51e
5 changed files with 17 additions and 1 deletions
|
@ -108,3 +108,8 @@ pub fn handle_modify_attribute(page: &Rc<Page>, pipeline: PipelineId, node_id: S
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn handle_wants_live_notifications(page: &Rc<Page>, pipeline_id: PipelineId, send_notifications: bool) {
|
||||
let page = get_page(&*page, pipeline_id);
|
||||
page.devtools_wants_updates.set(send_notifications);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue