mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 21:26:22 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
parent
950e819ee7
commit
93712b24bf
Notes:
github-actions[bot]
2024-11-10 11:51:52 +00:00
Author: https://github.com/trflynn89
Commit: 93712b24bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
4547 changed files with 104 additions and 113 deletions
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Copyright (c) 2022, Andreas Kling <andreas@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibURL/Origin.h>
|
||||
#include <LibURL/URL.h>
|
||||
#include <LibWeb/HTML/CrossOrigin/OpenerPolicy.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/origin.html#coop-enforcement-result
|
||||
struct OpenerPolicyEnforcementResult {
|
||||
// A boolean needs a browsing context group switch, initially false.
|
||||
bool needs_a_browsing_context_group_switch { false };
|
||||
|
||||
// A boolean would need a browsing context group switch due to report-only, initially false.
|
||||
bool would_need_a_browsing_context_group_switch_due_to_report_only { false };
|
||||
|
||||
// A URL url.
|
||||
URL::URL url;
|
||||
|
||||
// An origin origin.
|
||||
URL::Origin origin;
|
||||
|
||||
// An opener policy.
|
||||
OpenerPolicy opener_policy;
|
||||
|
||||
// A boolean current context is navigation source.
|
||||
bool current_context_is_navigation_source { false };
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue