mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:18:12 +00:00
LibWeb/HTML: Port Window.devicePixelRatio to IDL
This commit is contained in:
parent
46e547d774
commit
8454eb874f
3 changed files with 14 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue