1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibWeb/HTML: Port Window.outer{Width,Height} to IDL

This commit is contained in:
Linus Groh 2023-03-06 22:02:09 +00:00
parent 80acf03278
commit 46e547d774
3 changed files with 24 additions and 40 deletions

View file

@ -115,9 +115,6 @@ public:
float device_pixel_ratio() const;
int outer_width() const;
int outer_height() const;
JS::NonnullGCPtr<HTML::Storage> local_storage();
JS::NonnullGCPtr<HTML::Storage> session_storage();
@ -179,6 +176,8 @@ public:
i32 screen_x() const;
i32 screen_y() const;
i32 outer_width() const;
i32 outer_height() const;
WebIDL::ExceptionOr<JS::NonnullGCPtr<HighResolutionTime::Performance>> performance();
@ -248,9 +247,6 @@ private:
JS_DECLARE_NATIVE_FUNCTION(device_pixel_ratio_getter);
JS_DECLARE_NATIVE_FUNCTION(outer_width_getter);
JS_DECLARE_NATIVE_FUNCTION(outer_height_getter);
JS_DECLARE_NATIVE_FUNCTION(structured_clone);
JS_DECLARE_NATIVE_FUNCTION(local_storage_getter);