mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibWeb: Add AO for navigation_must_be_a_replace to Navigable
This is used by both Navigable and Navigation, so let's put it in Navigable. Also add a missing AK/String include to make clangd happier with the Navigable file.
This commit is contained in:
parent
7ad45d9e71
commit
34ea470d4f
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/ADKaster
Commit: 34ea470d4f
Pull-request: https://github.com/SerenityOS/serenity/pull/20757
Reviewed-by: https://github.com/kalenikaliaksandr ✅
2 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/String.h>
|
||||
#include <LibJS/Heap/Cell.h>
|
||||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/HTML/ActivateTab.h>
|
||||
|
@ -135,4 +136,6 @@ private:
|
|||
JS::GCPtr<NavigableContainer> m_container;
|
||||
};
|
||||
|
||||
bool navigation_must_be_a_replace(AK::URL const& url, DOM::Document const& document);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue