mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 23:56:06 +00:00
UI/Qt: Remove unused WebContentView::dump_layout_tree
This commit is contained in:
parent
3ef0fc89b3
commit
b688bbf26c
Notes:
github-actions[bot]
2024-09-19 16:08:16 +00:00
Author: https://github.com/trflynn89
Commit: b688bbf26c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1447
2 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue