mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
LibWeb/HTML: Port Window.getSelection() to IDL
This commit is contained in:
parent
56550b6ec0
commit
606b9ff6f3
5 changed files with 18 additions and 22 deletions
|
@ -180,6 +180,8 @@ public:
|
|||
i32 outer_height() const;
|
||||
double device_pixel_ratio() const;
|
||||
|
||||
JS::GCPtr<Selection::Selection> get_selection() const;
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<HighResolutionTime::Performance>> performance();
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Crypto::Crypto>> crypto();
|
||||
|
@ -258,8 +260,6 @@ private:
|
|||
JS_DECLARE_NATIVE_FUNCTION(request_animation_frame);
|
||||
JS_DECLARE_NATIVE_FUNCTION(cancel_animation_frame);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(get_selection);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(queue_microtask);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(request_idle_callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue