diff options
Diffstat (limited to 'Userland/Libraries/LibWebView/OutOfProcessWebView.cpp')
-rw-r--r-- | Userland/Libraries/LibWebView/OutOfProcessWebView.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp index a65256f91b..484206e6d9 100644 --- a/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp +++ b/Userland/Libraries/LibWebView/OutOfProcessWebView.cpp @@ -90,6 +90,16 @@ Gfx::IntRect OutOfProcessWebView::viewport_rect() const return visible_content_rect(); } +Gfx::IntPoint OutOfProcessWebView::to_content_position(Gfx::IntPoint widget_position) const +{ + return GUI::AbstractScrollableWidget::to_content_position(widget_position); +} + +Gfx::IntPoint OutOfProcessWebView::to_widget_position(Gfx::IntPoint content_position) const +{ + return GUI::AbstractScrollableWidget::to_widget_position(content_position); +} + void OutOfProcessWebView::update_zoom() { client().async_set_device_pixels_per_css_pixel(m_device_pixel_ratio * m_zoom_level); |