mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb/HTML: Port Window.getSelection() to IDL
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user