diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-11-10 00:29:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-11-26 11:03:24 +0100 |
commit | 45214fdb1a5bd1ca61485ac36d365cc277dff6a7 (patch) | |
tree | dc727f7a68583f290e348d0e58c38338a127da7b /Userland/Libraries/LibWebView/OutOfProcessWebView.cpp | |
parent | 45a59b4d7ef6b6b1bf4e20a89c403e7552ba37f7 (diff) | |
download | serenity-45214fdb1a5bd1ca61485ac36d365cc277dff6a7.zip |
LibWeb+WebContent: Label redirects with new FrameLoader::Type::Redirect
Previously we labeled redirects as normal FrameLoader::Type::Navigation,
now we introduce a new FrameLoader::Type::Redirect and label redirects
with it. This will allow us to handle redirects in the browser
differently (such as for overwritting the latest history entry when a
redirect happens) :^)
Diffstat (limited to 'Userland/Libraries/LibWebView/OutOfProcessWebView.cpp')
-rw-r--r-- | Userland/Libraries/LibWebView/OutOfProcessWebView.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp index 24c861cd2e..ed6185983c 100644 --- a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp +++ b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp @@ -298,7 +298,7 @@ void OutOfProcessWebView::notify_server_did_middle_click_link(Badge<WebContentCl on_link_middle_click(url, target, modifiers); } -void OutOfProcessWebView::notify_server_did_start_loading(Badge<WebContentClient>, const AK::URL& url) +void OutOfProcessWebView::notify_server_did_start_loading(Badge<WebContentClient>, const AK::URL& url, bool) { m_url = url; if (on_load_start) |