DescriptionDo not interchange MOUSE_MOVED and MOUSE_DRAGGED events in Widget
In Widget::OnMouseEvent(), do not handle MOUSE_MOVED
events as MOUSE_DRAGGED events, and do not handle
MOUSE_DRAGGED events as MOUSE_MOVED events; instead
trust that the mouse event type has been set correctly
before arriving at Widget. This also allows us to
remove the member |is_mouse_button_pressed_|
from Widget.
BUG=412929, 412931
TEST=WidgetTest.DragIntoView
Patch Set 1 #Patch Set 2 : WIP #Patch Set 3 : WIP #Patch Set 4 : WIP #Patch Set 5 : WIP test #Patch Set 6 : for review #
Total comments: 6
Patch Set 7 : WIP #Patch Set 8 : comments addressed #
Total comments: 3
Messages
Total messages: 12 (2 generated)
|