mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
Everywhere: Hoist the Libraries folder to the top-level
This commit is contained in:
parent
950e819ee7
commit
93712b24bf
Notes:
github-actions[bot]
2024-11-10 11:51:52 +00:00
Author: https://github.com/trflynn89
Commit: 93712b24bf
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2256
Reviewed-by: https://github.com/sideshowbarker
4547 changed files with 104 additions and 113 deletions
50
Libraries/LibWeb/NavigationTiming/PerformanceTiming.h
Normal file
50
Libraries/LibWeb/NavigationTiming/PerformanceTiming.h
Normal file
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Andreas Kling <andreas@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <LibWeb/HTML/Window.h>
|
||||
|
||||
namespace Web::NavigationTiming {
|
||||
|
||||
class PerformanceTiming final : public Bindings::PlatformObject {
|
||||
WEB_PLATFORM_OBJECT(PerformanceTiming, Bindings::PlatformObject);
|
||||
JS_DECLARE_ALLOCATOR(PerformanceTiming);
|
||||
|
||||
public:
|
||||
using AllowOwnPtr = TrueType;
|
||||
|
||||
~PerformanceTiming();
|
||||
|
||||
u64 navigation_start() { return 0; }
|
||||
u64 unload_event_start() { return 0; }
|
||||
u64 unload_event_end() { return 0; }
|
||||
u64 redirect_start() { return 0; }
|
||||
u64 redirect_end() { return 0; }
|
||||
u64 fetch_start() { return 0; }
|
||||
u64 domain_lookup_start() { return 0; }
|
||||
u64 domain_lookup_end() { return 0; }
|
||||
u64 connect_start() { return 0; }
|
||||
u64 connect_end() { return 0; }
|
||||
u64 secure_connection_start() { return 0; }
|
||||
u64 request_start() { return 0; }
|
||||
u64 response_start() { return 0; }
|
||||
u64 response_end() { return 0; }
|
||||
u64 dom_loading() { return 0; }
|
||||
u64 dom_interactive() { return 0; }
|
||||
u64 dom_content_loaded_event_start() { return 0; }
|
||||
u64 dom_content_loaded_event_end() { return 0; }
|
||||
u64 dom_complete() { return 0; }
|
||||
u64 load_event_start() { return 0; }
|
||||
u64 load_event_end() { return 0; }
|
||||
|
||||
private:
|
||||
explicit PerformanceTiming(JS::Realm&);
|
||||
|
||||
virtual void initialize(JS::Realm&) override;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue