mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 20:16:02 +00:00
LibWeb: Add navigable property in NavigationParams
This commit is contained in:
parent
0c919718ae
commit
38a2d5ead3
Notes:
sideshowbarker
2024-07-17 18:23:22 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 38a2d5ead3
Pull-request: https://github.com/SerenityOS/serenity/pull/18601
Reviewed-by: https://github.com/awesomekling
2 changed files with 6 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <LibWeb/HTML/CrossOrigin/CrossOriginOpenerPolicy.h>
|
||||
#include <LibWeb/HTML/CrossOrigin/CrossOriginOpenerPolicyEnforcementResult.h>
|
||||
#include <LibWeb/HTML/HistoryHandlingBehavior.h>
|
||||
#include <LibWeb/HTML/Navigable.h>
|
||||
#include <LibWeb/HTML/Origin.h>
|
||||
#include <LibWeb/HTML/PolicyContainers.h>
|
||||
#include <LibWeb/HTML/SandboxingFlagSet.h>
|
||||
|
@ -49,6 +50,9 @@ struct NavigationParams {
|
|||
// the browsing context to be navigated (or discarded, if a browsing context group switch occurs)
|
||||
JS::Handle<HTML::BrowsingContext> browsing_context;
|
||||
|
||||
// the navigable to be navigated
|
||||
JS::Handle<Navigable> navigable;
|
||||
|
||||
// a history handling behavior
|
||||
HistoryHandlingBehavior history_handling { HistoryHandlingBehavior::Default };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue