summaryrefslogtreecommitdiffstats
path: root/components/mus/ws/test_utils.cc
Commit message (Collapse)AuthorAgeFilesLines
* Routes setting focus through WindowServer so it can notify other displayssky2016-03-251-14/+69
| | | | | | | | | | | | This way we only have one Display with focus. BUG=none TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1833873004 Cr-Commit-Position: refs/heads/master@{#383403}
* Mus Window Server Post Target Acceleratorsjonross2016-03-221-0/+24
| | | | | | | | | | | | | | | | Implement post-target accelerators in the mus window server. EventDispatcher's EventMatcher class has been refactored out into Accelerator. This provides a WeakPtr, as accelerators can be deleted by the client while the window server is awaiting an event ack. We don't want to notify a now deleted accelerator. Updated EventDispatcher to send post-targer accelerators to its delegate. Updated WindowManagerState to track accelerators awaiting event acks. On unhandled event acks the accelerator is sent. TEST=EventDispatcherTest, WindowManagerStateTest, manual testing of a post-target accelerator BUG=560478 Review URL: https://codereview.chromium.org/1806413003 Cr-Commit-Position: refs/heads/master@{#382600}
* Renames ConnectionManager to WindowServersky2016-03-151-10/+9
| | | | | | | | | | | | | WindowServer makes a lot more sense in this context. BUG=none TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1806773002 Cr-Commit-Position: refs/heads/master@{#381352}
* Removes embed root from mussky2016-03-111-2/+1
| | | | | | | | | | | | | This was used by mandoline and is no longer used, so nuking it to simplify things. BUG=none TEST=covered by tests R=ben@chromium.org Review URL: https://codereview.chromium.org/1783993002 Cr-Commit-Position: refs/heads/master@{#380497}
* Adds AccessControlManager and wires up user idssky2016-03-101-6/+2
| | | | | | | | | | | | The AccessControlManager is used to tell mus the active user. BUG=577274 TEST=bot only change R=ben@chromium.org Review URL: https://codereview.chromium.org/1781733002 Cr-Commit-Position: refs/heads/master@{#380276}
* Moves EventDispatcher from Display to WindowManagerStatesky2016-03-091-0/+11
| | | | | | | | | | | | | | | | | | EventDispatcher maintains state that is per WindowManager (accelerators, root...), so it makes sense that the EventDispatcher is owned by the WindowManagerState. This patch also makes Display update WindowManagerState and EventDispatcher appropriately when the active user changes. When the active user changes capture and any other event related state is reset. BUG=590955 TEST=covered by tests R=ben@chromium.org Review URL: https://codereview.chromium.org/1775133003 Cr-Commit-Position: refs/heads/master@{#380005}
* Refators display related functionality into own classsky2016-03-071-2/+2
| | | | | | | | | | BUG=590955 TEST=covered by tests R=ben@chromium.org Review URL: https://codereview.chromium.org/1766943002 Cr-Commit-Position: refs/heads/master@{#379567}
* Change userid from a uint32_t to a string guidben2016-03-051-1/+1
| | | | | | | | | | | | | TBR=sky@chromium.org BUG= patch from issue 1760963003 at patchset 20001 (http://crrev.com/1760963003#ps20001) CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review URL: https://codereview.chromium.org/1770533002 Cr-Commit-Position: refs/heads/master@{#379476}
* More renaming in mussky2016-03-041-12/+12
| | | | | | | | | | | | | | WindowTreeImpl -> WindowTree ClientConnection -> WindowTreeBinding BUG=none TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1766463003 Cr-Commit-Position: refs/heads/master@{#379199}
* Cleanup some of the naming in mussky2016-03-041-27/+27
| | | | | | | | | | | | | | | DisplayManager* -> PlatformDisplay* WindowTreeHostConnection -> DisplayBinding WindowTreeHost -> Display BUG=none TEST=none R=ben@chromium.org TBR=ben@chromium.org Review URL: https://codereview.chromium.org/1767483002 Cr-Commit-Position: refs/heads/master@{#379163}
* More user id tracking for mus:sky2016-03-041-0/+280
Adds UserIdTracker to track set of known/valid user ids. Start of adding test coverage for multiple windowmanagers per treehost along with a handful of fixes. BUG=590955 TEST=covered by tests R=ben@chromium.org Review URL: https://codereview.chromium.org/1757403002 Cr-Commit-Position: refs/heads/master@{#379156}