Chromium Code Reviews
Descriptionviews: Dispatch mouse events using EventDispatch interface too.
Some of the notable changes:
* View::OnMouseEntered and OnMouseExited functions will now be triggered with
the correct event-types (i.e. ET_MOUSE_ENTERED and ET_MOUSE_EXITED). These
used to be triggered with ET_MOUSE_MOVED before.
* Introduce View::GetDragInfo(). This allows a View to reach into the
RootView's drag_info and update it as necessary for dragging.
* View override of OnMouseEvent() triggers the appropriate callback (e.g.
OnMousePressed, OnMouseRelease etc.), instead of the RootView directly
calling into these methods.
BUG=173235
(Previously committed in r182804, and reverted in r182864 because it broke some tests)
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=183039
Patch Set 1 #Patch Set 2 : tot-merge #Patch Set 3 : revert-revert #Patch Set 4 : . #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||