mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:37:35 +00:00
Browser: Add an Inspector context menu to edit the DOM
This commit is contained in:
parent
636ff33d60
commit
5006330bc6
2 changed files with 60 additions and 0 deletions
|
@ -30,8 +30,19 @@ public:
|
|||
private:
|
||||
explicit InspectorWidget(WebView::OutOfProcessWebView& content_view);
|
||||
|
||||
Gfx::IntPoint to_widget_position(Gfx::IntPoint) const;
|
||||
|
||||
RefPtr<WebView::OutOfProcessWebView> m_inspector_view;
|
||||
OwnPtr<WebView::InspectorClient> m_inspector_client;
|
||||
|
||||
RefPtr<GUI::Menu> m_dom_node_text_context_menu;
|
||||
RefPtr<GUI::Menu> m_dom_node_tag_context_menu;
|
||||
RefPtr<GUI::Menu> m_dom_node_attribute_context_menu;
|
||||
|
||||
RefPtr<GUI::Action> m_edit_node_action;
|
||||
RefPtr<GUI::Action> m_delete_node_action;
|
||||
RefPtr<GUI::Action> m_add_attribute_action;
|
||||
RefPtr<GUI::Action> m_remove_attribute_action;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue