mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb/HTML: Port Window.devicePixelRatio to IDL
This commit is contained in:
@@ -113,8 +113,6 @@ public:
|
||||
|
||||
void fire_a_page_transition_event(DeprecatedFlyString const& event_name, bool persisted);
|
||||
|
||||
float device_pixel_ratio() const;
|
||||
|
||||
JS::NonnullGCPtr<HTML::Storage> local_storage();
|
||||
JS::NonnullGCPtr<HTML::Storage> session_storage();
|
||||
|
||||
@@ -178,6 +176,7 @@ public:
|
||||
i32 screen_y() const;
|
||||
i32 outer_width() const;
|
||||
i32 outer_height() const;
|
||||
double device_pixel_ratio() const;
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<HighResolutionTime::Performance>> performance();
|
||||
|
||||
@@ -245,8 +244,6 @@ public:
|
||||
private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(device_pixel_ratio_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(structured_clone);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(local_storage_getter);
|
||||
|
||||
Reference in New Issue
Block a user