diff --git a/Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h b/Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h new file mode 100644 index 0000000000..5c201854c4 --- /dev/null +++ b/Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2022, Andreas Kling + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +namespace Web::HTML { + +// https://html.spec.whatwg.org/multipage/browsing-the-web.html#history-handling-behavior +enum class HistoryHandlingBehavior { + Default, + EntryUpdate, + Reload, + Replace, +}; + +} diff --git a/Userland/Libraries/LibWeb/HTML/NavigationParams.h b/Userland/Libraries/LibWeb/HTML/NavigationParams.h index 98b8e0e7a7..444ec306b0 100644 --- a/Userland/Libraries/LibWeb/HTML/NavigationParams.h +++ b/Userland/Libraries/LibWeb/HTML/NavigationParams.h @@ -10,20 +10,13 @@ #include #include #include +#include #include #include #include namespace Web::HTML { -// https://html.spec.whatwg.org/multipage/browsing-the-web.html#history-handling-behavior -enum class HistoryHandlingBehavior { - Default, - EntryUpdate, - Reload, - Replace, -}; - // https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigation-params struct NavigationParams { // a navigation id