mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:17:35 +00:00
Browser: Add ability to delete cookies from Storage Inspector
Adds actions to delete either a single cookie, or all of them. This looks weird, because the GUI doesn't update until you "Inspect > Open Storage Inspector", but it does function. :^)
This commit is contained in:
parent
c11462f40e
commit
4d9c0c7b22
5 changed files with 53 additions and 1 deletions
|
@ -34,6 +34,8 @@ public:
|
|||
virtual GUI::Variant data(GUI::ModelIndex const& index, GUI::ModelRole role = GUI::ModelRole::Display) const override;
|
||||
virtual TriState data_matches(GUI::ModelIndex const& index, GUI::Variant const& term) const override;
|
||||
|
||||
Web::Cookie::Cookie const& get_cookie(GUI::ModelIndex const&) const;
|
||||
|
||||
private:
|
||||
AK::Vector<Web::Cookie::Cookie> m_cookies;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue