mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibWeb: Move HistoryHandlingBehavior enum to its own header
This avoids a header cycle in a subsequent patch.
This commit is contained in:
19
Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h
Normal file
19
Userland/Libraries/LibWeb/HTML/HistoryHandlingBehavior.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* 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,
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user