mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibWeb/HTML: Port Window.frameElement to IDL
This commit is contained in:
parent
c6353ac8cd
commit
efa48142d2
3 changed files with 27 additions and 30 deletions
|
@ -146,6 +146,7 @@ public:
|
|||
u32 length() const;
|
||||
JS::GCPtr<WindowProxy const> top() const;
|
||||
JS::GCPtr<WindowProxy const> parent() const;
|
||||
JS::GCPtr<DOM::Element const> frame_element() const;
|
||||
|
||||
JS::NonnullGCPtr<Navigator> navigator() const;
|
||||
|
||||
|
@ -217,8 +218,6 @@ public:
|
|||
CrossOriginPropertyDescriptorMap& cross_origin_property_descriptor_map() { return m_cross_origin_property_descriptor_map; }
|
||||
|
||||
private:
|
||||
JS_DECLARE_NATIVE_FUNCTION(frame_element_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(performance_getter);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue