OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 module ui.mojom; | 5 module ui.mojom; |
6 | 6 |
| 7 import "ui/events/mojo/event.mojom"; |
| 8 |
7 interface WindowServerTest { | 9 interface WindowServerTest { |
8 EnsureClientHasDrawnWindow(string client_name) => (bool success); | 10 EnsureClientHasDrawnWindow(string client_name) => (bool success); |
| 11 |
| 12 // Takes an event and dispatches it as if it came from the native platform. |
| 13 // Returns false on bad |display_id| or |event|; returns true if it reaches |
| 14 // the event dispatch phase. |
| 15 DispatchEvent(int64 display_id, ui.mojom.Event event) |
| 16 => (bool result); |
9 }; | 17 }; |
OLD | NEW |