mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:37:45 +00:00
Browser: Set all cookies at once instead adding them separately
This commit is contained in:
parent
dc66d16dc2
commit
ac991b0a89
5 changed files with 9 additions and 8 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
__Count,
|
||||
};
|
||||
|
||||
void add_item(Web::Cookie::Cookie const& item);
|
||||
void set_items(AK::Vector<Web::Cookie::Cookie> items);
|
||||
void clear_items();
|
||||
virtual int row_count(GUI::ModelIndex const&) const override { return m_cookies.size(); }
|
||||
virtual int column_count(GUI::ModelIndex const& = GUI::ModelIndex()) const override { return Column::__Count; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue