mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibWeb+WebContent: Change the "noopener" storage type to a named enum
This commit is contained in:
parent
496b7ffb2b
commit
1b811191cd
7 changed files with 65 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue