Fix ash_unittests that depend upon wm::CursorManager |
|||
Issue descriptionThere are a number of ash_unittests that currently fail in --mus because we are not creating CursorManager. Specifically this is the set of failing tests: -AshNativeCursorManagerTest.FractionalScale -AshNativeCursorManagerTest.LockCursor -AshNativeCursorManagerTest.SetCursor -AshNativeCursorManagerTest.SetCursorSet -AshNativeCursorManagerTest.SetDeviceScaleFactorAndRotation -AshNativeCursorManagerTest.UIScaleShouldNotChangeCursor -CursorWindowControllerTest.VisibilityTest -DragDropControllerTest.CaptureLostCancelsDragDrop -DragDropControllerTest.DragCancelAcrossDisplays -DragDropControllerTest.DragCancelOnDisplayDisconnect -DragDropControllerTest.DragDropInMultipleViewsMultipleWidgetsTest -DragDropControllerTest.DragDropInMultipleViewsSingleWidgetTest -DragDropControllerTest.DragDropInSingleViewTest -DragDropControllerTest.DragDropWithZeroDragUpdates -DragDropControllerTest.PressingEscapeCancelsDragDrop -DragDropControllerTest.SyntheticEventsDuringDragDrop -DragDropControllerTest.TouchDragDropCancelsOnLongTap -DragDropControllerTest.TouchDragDropCompletesOnFling -DragDropControllerTest.TouchDragDropInMultipleWindows -DragDropControllerTest.TouchDragDropLongTapGestureIsForwarded -DragDropControllerTest.ViewRemovedWhileInDragDropTest -DragDropControllerTest.WindowDestroyedDuringDragDrop -DragWindowResizerTest.CursorDeviceScaleFactor -ExtendedDesktopTest.TestCursor -LockStateControllerTest.LegacyLockAndShutDown -LockStateControllerTest.RequestShutdownFromLockScreen -LockStateControllerTest.RequestShutdownFromLoginScreen -LockStateControllerTest.ShutdownWithoutButton -MouseCursorEventFilterTest.CursorDeviceScaleFactor -PartialScreenshotControllerTest.LargeCursor -PartialScreenshotControllerTest.VisibilityTest -ResizeShadowAndCursorTest.MaximizeRestore -ResizeShadowAndCursorTest.MouseDrag -ResizeShadowAndCursorTest.MouseHover -TooltipControllerTest.HideTooltipWhenCursorHidden -WindowManagerTest.TestCursorClientObserver -WindowManagerTest.UpdateCursorVisibility -WindowManagerTest.UpdateCursorVisibilityAccelerator -WindowManagerTest.UpdateCursorVisibilityOnKeyEvent -WindowSelectorTest.Basic -WindowTreeHostManagerTest.UpdateMouseLocationAfterDisplayChange_PrimaryDisconnected -WindowTreeHostManagerTest.UpdateMouseLocationAfterDisplayChange_SwapPrimary -WorkspaceWindowResizerTest.MouseMoveWithTouchDrag
,
Jun 29 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/97ea635cc998b3d39de0c08695b8a8feb3aa974f commit 97ea635cc998b3d39de0c08695b8a8feb3aa974f Author: erg <erg@chromium.org> Date: Thu Jun 29 21:45:09 2017 Make ShellPortMash dispatch to cursor_manager in mus mode. In mus mode, we forward commands to the window manager for the actual rendering of cursors, but the monolith ash/chrome process otherwise doesn't change. When in mus mode, ShellPort commands should be dispatched to our local cursor_manager(), so that things which read back the cursor state return the correct values. They should only dispatch directly to the window manager in mash mode. BUG= 734806 Review-Url: https://codereview.chromium.org/2957313003 Cr-Commit-Position: refs/heads/master@{#483500} [modify] https://crrev.com/97ea635cc998b3d39de0c08695b8a8feb3aa974f/ash/mus/bridge/shell_port_mash.cc [modify] https://crrev.com/97ea635cc998b3d39de0c08695b8a8feb3aa974f/ash/wm/native_cursor_manager_ash_mus.cc [modify] https://crrev.com/97ea635cc998b3d39de0c08695b8a8feb3aa974f/testing/buildbot/filters/ash_unittests_mus.filter
,
Jun 29 2017
,
Jan 22 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Jun 24 2017