Skip to content

Truly independent web browser

LibWeb: Simplify the comments on EventHandler's hover methods

Zaggy1024b5089d2fe5aa
diff --git a/Libraries/LibWeb/Page/EventHandler.h b/Libraries/LibWeb/Page/EventHandler.h
index b71b698d3b1..c2dbd5e6b0d 100644
--- a/Libraries/LibWeb/Page/EventHandler.h
+++ b/Libraries/LibWeb/Page/EventHandler.h
@@ -91,11 +91,8 @@ public:
bool select_word_for_dictionary_lookup(CSSPixelPoint visual_viewport_position);
#endif
void update_hover_after_scroll();
- // Hovers what is under the pointer at `visual_viewport_position`, where a hover beside the event loop shows it
- // already: the boundary events of the move fire, with no mouse move event.
void update_hover_at(CSSPixelPoint visual_viewport_position, GC::Ptr<DOM::Node> hover_target = {});
- // Shows the cursor of what is under the pointer again, where a move resolved it before it hovered that, once a
- // rendering update has applied the style of the hover.
+ // Call once per rendering update, after its layout and before it paints.
void update_cursor_after_rendering_update();
GC::Ptr<DOM::Node> target_node_for_mouse_position(CSSPixelPoint);