mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-28 12:18:56 +00:00
LibWeb: Simplify Layout::Node::class_name() with RTTI
This commit is contained in:
parent
7841528cd4
commit
730af2c524
Notes:
sideshowbarker
2024-07-19 00:16:05 +09:00
Author: https://github.com/awesomekling
Commit: 730af2c524
24 changed files with 8 additions and 37 deletions
|
@ -42,7 +42,6 @@ public:
|
|||
HTML::HTMLInputElement& dom_node() { return static_cast<HTML::HTMLInputElement&>(ReplacedBox::dom_node()); }
|
||||
|
||||
private:
|
||||
virtual const char* class_name() const override { return "CheckBox"; }
|
||||
virtual bool is_check_box() 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