mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:07:45 +00:00
LibWeb: Rename Layout::Node::is_block_box() => is_block_container()
This commit is contained in:
parent
fa45b905bf
commit
d9e0fd8823
2 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@ public:
|
||||||
void set_scroll_offset(const Gfx::FloatPoint&);
|
void set_scroll_offset(const Gfx::FloatPoint&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual bool is_block_box() const final { return true; }
|
virtual bool is_block_container() const final { return true; }
|
||||||
virtual bool wants_mouse_events() const override { return false; }
|
virtual bool wants_mouse_events() const override { return false; }
|
||||||
virtual bool handle_mousewheel(Badge<EventHandler>, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta) override;
|
virtual bool handle_mousewheel(Badge<EventHandler>, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers, int wheel_delta) override;
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ private:
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
inline bool Node::fast_is<BlockContainer>() const { return is_block_box(); }
|
inline bool Node::fast_is<BlockContainer>() const { return is_block_container(); }
|
||||||
|
|
||||||
template<typename Callback>
|
template<typename Callback>
|
||||||
void BlockContainer::for_each_fragment(Callback callback)
|
void BlockContainer::for_each_fragment(Callback callback)
|
||||||
|
|
|
@ -98,7 +98,7 @@ public:
|
||||||
|
|
||||||
// These are used to optimize hot is<T> variants for some classes where dynamic_cast is too slow.
|
// These are used to optimize hot is<T> variants for some classes where dynamic_cast is too slow.
|
||||||
virtual bool is_box() const { return false; }
|
virtual bool is_box() const { return false; }
|
||||||
virtual bool is_block_box() const { return false; }
|
virtual bool is_block_container() const { return false; }
|
||||||
virtual bool is_text_node() const { return false; }
|
virtual bool is_text_node() const { return false; }
|
||||||
virtual bool is_initial_containing_block_box() const { return false; }
|
virtual bool is_initial_containing_block_box() const { return false; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue