mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
Browser: Add "Inspect Element" to context menu :^)
This opens the DOM Inspector window, with the target element already selected. (If the window is already open, it just selects the element.) Note that this only applies to single-process mode for now. In OOP mode, the "inspect element" action is disabled.
This commit is contained in:
parent
8eef509c1b
commit
37f060b873
6 changed files with 69 additions and 19 deletions
|
@ -18,6 +18,7 @@ public:
|
|||
|
||||
void set_document(Web::DOM::Document*);
|
||||
void set_dom_json(String);
|
||||
void set_inspected_node(Web::DOM::Node*);
|
||||
|
||||
private:
|
||||
InspectorWidget();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue