summaryrefslogtreecommitdiff
path: root/Userland/Applications/Browser/StorageWidget.h
diff options
context:
space:
mode:
authorRafał Babiarz <5783815+Sauler@users.noreply.github.com>2022-05-07 22:45:43 +0200
committerLinus Groh <mail@linusgroh.de>2022-05-28 23:54:06 +0100
commitb162b7eec68c1b75ded1923fcd2be968183447e3 (patch)
treeab8d61dc6b1e49203ddbd289cc024e302da8e9b8 /Userland/Applications/Browser/StorageWidget.h
parent1ffba0b8b4aa26c28288f9191782523c7e9b7017 (diff)
downloadserenity-b162b7eec68c1b75ded1923fcd2be968183447e3.zip
Browser+LibWeb+WebContent: Add ability to inspect session storage
Diffstat (limited to 'Userland/Applications/Browser/StorageWidget.h')
-rw-r--r--Userland/Applications/Browser/StorageWidget.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/Userland/Applications/Browser/StorageWidget.h b/Userland/Applications/Browser/StorageWidget.h
index 69397aa0d3..cfde2c7295 100644
--- a/Userland/Applications/Browser/StorageWidget.h
+++ b/Userland/Applications/Browser/StorageWidget.h
@@ -7,7 +7,7 @@
#pragma once
#include "CookiesModel.h"
-#include "LocalStorageModel.h"
+#include "StorageModel.h"
#include "Tab.h"
#include <LibGUI/FilteringProxyModel.h>
#include <LibGUI/TextBox.h>
@@ -27,6 +27,9 @@ public:
void set_local_storage_entries(OrderedHashMap<String, String> entries);
void clear_local_storage_entries();
+ void set_session_storage_entries(OrderedHashMap<String, String> entries);
+ void clear_session_storage_entries();
+
private:
StorageWidget();
@@ -37,8 +40,13 @@ private:
RefPtr<GUI::TableView> m_local_storage_table_view;
RefPtr<GUI::TextBox> m_local_storage_textbox;
- RefPtr<LocalStorageModel> m_local_storage_model;
+ RefPtr<StorageModel> m_local_storage_model;
RefPtr<GUI::FilteringProxyModel> m_local_storage_filtering_model;
+
+ RefPtr<GUI::TableView> m_session_storage_table_view;
+ RefPtr<GUI::TextBox> m_session_storage_textbox;
+ RefPtr<StorageModel> m_session_storage_model;
+ RefPtr<GUI::FilteringProxyModel> m_session_storage_filtering_model;
};
}