mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
UI/Qt: Remove unused WebContentView::dump_layout_tree
This commit is contained in:
committed by
Andreas Kling
parent
3ef0fc89b3
commit
b688bbf26c
@@ -798,11 +798,6 @@ bool WebContentView::event(QEvent* event)
|
|||||||
return QAbstractScrollArea::event(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)
|
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 };
|
Web::DevicePixelPoint position = { event.position().x() * m_device_pixel_ratio, event.position().y() * m_device_pixel_ratio };
|
||||||
|
|||||||
@@ -72,8 +72,6 @@ public:
|
|||||||
virtual void focusOutEvent(QFocusEvent*) override;
|
virtual void focusOutEvent(QFocusEvent*) override;
|
||||||
virtual bool event(QEvent*) override;
|
virtual bool event(QEvent*) override;
|
||||||
|
|
||||||
ErrorOr<String> dump_layout_tree();
|
|
||||||
|
|
||||||
void set_viewport_rect(Gfx::IntRect);
|
void set_viewport_rect(Gfx::IntRect);
|
||||||
void set_window_size(Gfx::IntSize);
|
void set_window_size(Gfx::IntSize);
|
||||||
void set_window_position(Gfx::IntPoint);
|
void set_window_position(Gfx::IntPoint);
|
||||||
|
|||||||
Reference in New Issue
Block a user