1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

LibWeb+WebContent: Change the "noopener" storage type to a named enum

This commit is contained in:
Timothy Flynn 2023-03-21 06:52:29 -04:00 committed by Andreas Kling
parent 496b7ffb2b
commit 1b811191cd
Notes: sideshowbarker 2024-07-17 09:56:35 +09:00
7 changed files with 65 additions and 16 deletions

View file

@ -9,6 +9,7 @@
#include <AK/URL.h>
#include <LibWeb/Forward.h>
#include <LibWeb/HTML/EventLoop/Task.h>
#include <LibWeb/HTML/TokenizedFeatures.h>
namespace Web::HTML {
@ -66,7 +67,7 @@ private:
void update_href();
bool cannot_navigate() const;
DeprecatedString get_an_elements_target() const;
bool get_an_elements_noopener(StringView target) const;
TokenizedFeature::NoOpener get_an_elements_noopener(StringView target) const;
Optional<AK::URL> m_url;
};