mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibWeb/HTML: Port Window.window to IDL
This commit is contained in:
parent
eb2425040b
commit
d57876306c
3 changed files with 12 additions and 10 deletions
|
@ -140,6 +140,8 @@ public:
|
|||
Vector<JS::NonnullGCPtr<MimeType>> pdf_viewer_mime_type_objects();
|
||||
|
||||
// JS API functions
|
||||
JS::NonnullGCPtr<WindowProxy> window() const;
|
||||
|
||||
JS::NonnullGCPtr<Navigator> navigator() const;
|
||||
|
||||
void alert(String const& message = {});
|
||||
|
@ -240,7 +242,6 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(inner_width_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(inner_height_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(window_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(frames_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(self_getter);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue