1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:47:34 +00:00

LibWeb: Add NavigationCurrentEntryChangeEvent, fired when navigating

This event will be fired by Navigation when changing the current
NavigationHistoryEntry.
This commit is contained in:
Andrew Kaster 2023-08-23 10:53:11 -06:00 committed by Andrew Kaster
parent 3c1d4eab24
commit 51c2835044
10 changed files with 107 additions and 0 deletions

View file

@ -44,6 +44,7 @@ static bool is_platform_object(Type const& type)
"Module"sv,
"MutationRecord"sv,
"NamedNodeMap"sv,
"NavigationHistoryEntry"sv,
"Node"sv,
"Path2D"sv,
"PerformanceEntry"sv,

View file

@ -123,6 +123,7 @@ source_set("HTML") {
"MimeTypeArray.cpp",
"Navigable.cpp",
"NavigableContainer.cpp",
"NavigationCurrentEntryChangeEvent.cpp",
"NavigationHistoryEntry.cpp",
"Navigator.cpp",
"NavigatorID.cpp",

View file

@ -182,6 +182,7 @@ standard_idl_files = [
"//Userland/Libraries/LibWeb/HTML/MessagePort.idl",
"//Userland/Libraries/LibWeb/HTML/MimeType.idl",
"//Userland/Libraries/LibWeb/HTML/MimeTypeArray.idl",
"//Userland/Libraries/LibWeb/HTML/NavigationCurrentEntryChangeEvent.idl",
"//Userland/Libraries/LibWeb/HTML/NavigationHistoryEntry.idl",
"//Userland/Libraries/LibWeb/HTML/Navigator.idl",
"//Userland/Libraries/LibWeb/HTML/PageTransitionEvent.idl",