UI/Qt: Remove unused WebContentView::dump_layout_tree

This commit is contained in:
Timothy Flynn 2024-09-19 10:39:43 -04:00 committed by Andreas Kling
parent 3ef0fc89b3
commit b688bbf26c
Notes: github-actions[bot] 2024-09-19 16:08:16 +00:00
2 changed files with 0 additions and 7 deletions

View file

@ -798,11 +798,6 @@ bool WebContentView::event(QEvent* event)
return QAbstractScrollArea::event(event);
}
ErrorOr<String> WebContentView::dump_layout_tree()
{
return String::from_byte_string(client().dump_layout_tree(m_client_state.page_index));
}
void WebContentView::enqueue_native_event(Web::MouseEvent::Type type, QSinglePointEvent const& event)
{
Web::DevicePixelPoint position = { event.position().x() * m_device_pixel_ratio, event.position().y() * m_device_pixel_ratio };

View file

@ -72,8 +72,6 @@ public:
virtual void focusOutEvent(QFocusEvent*) override;
virtual bool event(QEvent*) override;
ErrorOr<String> dump_layout_tree();
void set_viewport_rect(Gfx::IntRect);
void set_window_size(Gfx::IntSize);
void set_window_position(Gfx::IntPoint);