mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:48:10 +00:00
LibWebView+Ladybird: Move DOM inspection helpers to ViewImplementation
This commit is contained in:
parent
f313708237
commit
2428e3e675
9 changed files with 56 additions and 96 deletions
|
@ -25,8 +25,6 @@
|
|||
#include <QAbstractScrollArea>
|
||||
#include <QPointer>
|
||||
|
||||
#include "DOMNodeProperties.h"
|
||||
|
||||
class QTextEdit;
|
||||
class QLineEdit;
|
||||
|
||||
|
@ -192,10 +190,7 @@ private:
|
|||
void ensure_inspector_widget();
|
||||
|
||||
bool is_inspector_open() const;
|
||||
void inspect_dom_tree();
|
||||
void clear_inspected_dom_node();
|
||||
void close_sub_widgets();
|
||||
ErrorOr<Ladybird::DOMNodeProperties> inspect_dom_node(i32 node_id, Optional<Web::CSS::Selector::PseudoElement> pseudo_element);
|
||||
|
||||
qreal m_inverse_pixel_scaling_ratio { 1.0 };
|
||||
bool m_should_show_line_box_borders { false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue