summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/CheckBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/CheckBox.h')
-rw-r--r--Userland/Libraries/LibWeb/Layout/CheckBox.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/CheckBox.h b/Userland/Libraries/LibWeb/Layout/CheckBox.h
index 7a20d3f6e0..f1c77d3769 100644
--- a/Userland/Libraries/LibWeb/Layout/CheckBox.h
+++ b/Userland/Libraries/LibWeb/Layout/CheckBox.h
@@ -19,22 +19,8 @@ public:
const HTML::HTMLInputElement& dom_node() const { return static_cast<const HTML::HTMLInputElement&>(LabelableNode::dom_node()); }
HTML::HTMLInputElement& dom_node() { return static_cast<HTML::HTMLInputElement&>(LabelableNode::dom_node()); }
- bool being_pressed() const { return m_being_pressed; }
-
- virtual RefPtr<Painting::Paintable> create_paintable() const override;
-
private:
- virtual bool wants_mouse_events() const override { return true; }
- virtual void handle_mousedown(Badge<EventHandler>, const Gfx::IntPoint&, unsigned button, unsigned modifiers) override;
- virtual void handle_mouseup(Badge<EventHandler>, const Gfx::IntPoint&, unsigned button, unsigned modifiers) override;
- virtual void handle_mousemove(Badge<EventHandler>, const Gfx::IntPoint&, unsigned buttons, unsigned modifiers) override;
-
- virtual void handle_associated_label_mousedown(Badge<Label>) override;
- virtual void handle_associated_label_mouseup(Badge<Label>) override;
- virtual void handle_associated_label_mousemove(Badge<Label>, bool is_inside_node_or_label) override;
-
- bool m_being_pressed { false };
- bool m_tracking_mouse { false };
+ virtual RefPtr<Painting::Paintable> create_paintable() const override;
};
}