1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:37:43 +00:00

LibWeb: Define window.outerWidth and window.outerHeight

This commit is contained in:
Timothy Flynn 2022-11-01 15:58:48 -04:00 committed by Linus Groh
parent 8cc1997f33
commit 5eeb6bbee3
2 changed files with 39 additions and 0 deletions

View file

@ -108,6 +108,9 @@ public:
int screen_x() const;
int screen_y() const;
int outer_width() const;
int outer_height() const;
JS::NonnullGCPtr<HTML::Storage> local_storage();
JS::NonnullGCPtr<HTML::Storage> session_storage();
@ -233,6 +236,9 @@ private:
JS_DECLARE_NATIVE_FUNCTION(screen_left_getter);
JS_DECLARE_NATIVE_FUNCTION(screen_top_getter);
JS_DECLARE_NATIVE_FUNCTION(outer_width_getter);
JS_DECLARE_NATIVE_FUNCTION(outer_height_getter);
JS_DECLARE_NATIVE_FUNCTION(post_message);
JS_DECLARE_NATIVE_FUNCTION(local_storage_getter);