mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +00:00
LibWeb: Store HTML document ready state as an enum
This commit is contained in:
parent
c4ccbc5b83
commit
8496024756
4 changed files with 39 additions and 6 deletions
17
Userland/Libraries/LibWeb/HTML/DocumentReadyState.h
Normal file
17
Userland/Libraries/LibWeb/HTML/DocumentReadyState.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
enum class DocumentReadyState {
|
||||
Loading,
|
||||
Interactive,
|
||||
Complete,
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue