mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -50,7 +50,7 @@ public:
|
|||
using TreeNode<Node>::unref;
|
||||
|
||||
ParentNode* parent_or_shadow_host();
|
||||
const ParentNode* parent_or_shadow_host() const { return const_cast<Node*>(this)->parent_or_shadow_host(); }
|
||||
ParentNode const* parent_or_shadow_host() const { return const_cast<Node*>(this)->parent_or_shadow_host(); }
|
||||
|
||||
// ^EventTarget
|
||||
virtual void ref_event_target() final { ref(); }
|
||||
|
@ -121,24 +121,24 @@ public:
|
|||
void set_node_value(String const&);
|
||||
|
||||
Document& document() { return *m_document; }
|
||||
const Document& document() const { return *m_document; }
|
||||
Document const& document() const { return *m_document; }
|
||||
|
||||
RefPtr<Document> owner_document() const;
|
||||
|
||||
const HTML::HTMLAnchorElement* enclosing_link_element() const;
|
||||
const HTML::HTMLElement* enclosing_html_element() const;
|
||||
const HTML::HTMLElement* enclosing_html_element_with_attribute(const FlyString&) const;
|
||||
const HTML::HTMLElement* enclosing_html_element_with_attribute(FlyString const&) const;
|
||||
|
||||
String child_text_content() const;
|
||||
|
||||
Node& root();
|
||||
const Node& root() const
|
||||
Node const& root() const
|
||||
{
|
||||
return const_cast<Node*>(this)->root();
|
||||
}
|
||||
|
||||
Node& shadow_including_root();
|
||||
const Node& shadow_including_root() const
|
||||
Node const& shadow_including_root() const
|
||||
{
|
||||
return const_cast<Node*>(this)->shadow_including_root();
|
||||
}
|
||||
|
@ -146,10 +146,10 @@ public:
|
|||
bool is_connected() const;
|
||||
|
||||
Node* parent_node() { return parent(); }
|
||||
const Node* parent_node() const { return parent(); }
|
||||
Node const* parent_node() const { return parent(); }
|
||||
|
||||
Element* parent_element();
|
||||
const Element* parent_element() const;
|
||||
Element const* parent_element() const;
|
||||
|
||||
virtual void inserted();
|
||||
virtual void removed_from(Node*) { }
|
||||
|
@ -157,7 +157,7 @@ public:
|
|||
virtual void adopted_from(Document&) { }
|
||||
virtual void cloned(Node&, bool) {};
|
||||
|
||||
const Layout::Node* layout_node() const { return m_layout_node; }
|
||||
Layout::Node const* layout_node() const { return m_layout_node; }
|
||||
Layout::Node* layout_node() { return m_layout_node; }
|
||||
|
||||
Painting::PaintableBox const* paint_box() const;
|
||||
|
@ -165,7 +165,7 @@ public:
|
|||
|
||||
void set_layout_node(Badge<Layout::Node>, Layout::Node*) const;
|
||||
|
||||
virtual bool is_child_allowed(const Node&) const { return true; }
|
||||
virtual bool is_child_allowed(Node const&) const { return true; }
|
||||
|
||||
bool needs_style_update() const { return m_needs_style_update; }
|
||||
void set_needs_style_update(bool);
|
||||
|
@ -179,14 +179,14 @@ public:
|
|||
|
||||
void set_document(Badge<Document>, Document&);
|
||||
|
||||
virtual EventTarget* get_parent(const Event&) override;
|
||||
virtual EventTarget* get_parent(Event const&) override;
|
||||
|
||||
template<typename T>
|
||||
bool fast_is() const = delete;
|
||||
|
||||
ExceptionOr<void> ensure_pre_insertion_validity(NonnullRefPtr<Node> node, RefPtr<Node> child) const;
|
||||
|
||||
bool is_host_including_inclusive_ancestor_of(const Node&) const;
|
||||
bool is_host_including_inclusive_ancestor_of(Node const&) const;
|
||||
|
||||
bool is_scripting_enabled() const;
|
||||
bool is_scripting_disabled() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue