mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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) :^)
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 04:02:43 +09:00
Author: https://github.com/Baitinq Commit: https://github.com/SerenityOS/serenity/commit/45214fdb1a Pull-request: https://github.com/SerenityOS/serenity/pull/16004 Reviewed-by: https://github.com/davidot ✅
@@ -33,7 +33,7 @@ public:
|
||||
virtual void notify_server_did_unhover_link(Badge<WebContentClient>) = 0;
|
||||
virtual void notify_server_did_click_link(Badge<WebContentClient>, const AK::URL&, String const& target, unsigned modifiers) = 0;
|
||||
virtual void notify_server_did_middle_click_link(Badge<WebContentClient>, const AK::URL&, String const& target, unsigned modifiers) = 0;
|
||||
virtual void notify_server_did_start_loading(Badge<WebContentClient>, const AK::URL&) = 0;
|
||||
virtual void notify_server_did_start_loading(Badge<WebContentClient>, const AK::URL&, bool is_redirect) = 0;
|
||||
virtual void notify_server_did_finish_loading(Badge<WebContentClient>, const AK::URL&) = 0;
|
||||
virtual void notify_server_did_request_navigate_back(Badge<WebContentClient>) = 0;
|
||||
virtual void notify_server_did_request_navigate_forward(Badge<WebContentClient>) = 0;
|
||||
|
||||
Reference in New Issue
Block a user