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:
parent
8cc1997f33
commit
5eeb6bbee3
2 changed files with 39 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue