Pass gesture with screen coordinates to shelf from navigation widget
Shelf::ProcessGestureEvent expects an event with in-screen coordinates (for example to properly calculate window transform during window drag from shelf). Update ShelfNavigationWidget to pass gesture event copy with the location in screen coordinates to Shelf::ProcessGestureEvent. Updates ShelfLayoutManagerWindowDraggingTest.DraggedMRUWindow to verify that the dragged window is scaled as expected during the drag, and to test gesture starts from navigation and status area parts of the shelf. BUG=1034145 Change-Id: I839c6daaaf7577f09444e8094a4fe55dc2502e77 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1985132Reviewed-by:Manu Cornet <manucornet@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#728021}
Showing
This diff is collapsed.
Please register or sign in to comment