mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:37:35 +00:00
LibWeb: Simplify Layout::Node::class_name() with RTTI
This commit is contained in:
parent
7841528cd4
commit
730af2c524
24 changed files with 8 additions and 37 deletions
|
@ -43,7 +43,6 @@ public:
|
|||
HTML::HTMLInputElement& dom_node() { return static_cast<HTML::HTMLInputElement&>(ReplacedBox::dom_node()); }
|
||||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "ButtonBox"; }
|
||||
virtual bool is_button() const override { return true; }
|
||||
virtual bool wants_mouse_events() const override { return true; }
|
||||
virtual void handle_mousedown(Badge<EventHandler>, const Gfx::IntPoint&, unsigned button, unsigned modifiers) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue