This is required for b/ 33693796, and also will address following issues: b/62955308 : resize shadow b/64361369 : magnetization between windows
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/89e5c1355eb4e2f8372b8fa63c394f4a11fef857 commit 89e5c1355eb4e2f8372b8fa63c394f4a11fef857 Author: Mitsuru Oshima <oshima@chromium.org> Date: Wed Jan 17 07:29:39 2018 Compositor/Server Side Drag to move/resize This CL implements a mode for a compositor to drive move/resize operation. * compositor notifies start and end of drag operation with direction parameter. - "none" direction means move, otherwise resize. * bounds updates are sent with reasons so that client can use proper bounds update scheme for each operation. * Extends the hit test slightly outside (equivalent to outset but can extend further for otuch event). This is backward compatible and will use the old mode for old clients. BUG= 795119 TEST=Tested with and without v10 protocol. Change-Id: Icacfe4aeb91fa20e456531ed908cfc46dd3c2ce6 Reviewed-on: https://chromium-review.googlesource.com/787003 Commit-Queue: Mitsuru Oshima <oshima@chromium.org> Reviewed-by: David Reveman <reveman@chromium.org> Cr-Commit-Position: refs/heads/master@{#529665} [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/shell.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/drag_window_resizer.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/toplevel_window_event_handler.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/toplevel_window_event_handler.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/window_state.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/window_state.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/window_state_delegate.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/wm_toplevel_window_event_handler.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/ash/wm/wm_toplevel_window_event_handler.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/components/exo/client_controlled_shell_surface.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/components/exo/client_controlled_shell_surface.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/components/exo/shell_surface_base.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/components/exo/shell_surface_base.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/components/exo/wayland/server.cc [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-client-protocol.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/third_party/wayland-protocols/include/protocol/remote-shell-unstable-v1-server-protocol.h [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/third_party/wayland-protocols/protocol/remote-shell-protocol.c [modify] https://crrev.com/89e5c1355eb4e2f8372b8fa63c394f4a11fef857/third_party/wayland-protocols/unstable/remote-shell/remote-shell-unstable-v1.xml
Comment 1 by osh...@chromium.org
, Dec 15 2017Components: Platform>ARC