OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 module mojo { | |
6 | |
7 [Client=WindowManagerClient] | |
8 interface WindowManagerService { | |
9 OpenWindow() => (uint32 node_id); | |
Ben Goodger (Google)
2014/07/16 20:52:35
I suspect I may not want to use node_id here, as t
| |
10 SetCapture(uint32 node_id) => (bool success); | |
11 }; | |
12 | |
13 [Client=WindowManagerService] | |
14 interface WindowManagerClient { | |
15 // Called when the window manager is ready to use (in the event a client | |
16 // connects to it before it has been initialized). | |
17 OnWindowManagerReady(); | |
18 | |
19 // TODO(beng): how is the WM supposed to know if a node is known to a client | |
20 // or not? | |
21 OnCaptureChanged(uint32 old_capture_node_id, uint32 new_capture_node_id); | |
22 }; | |
23 | |
24 } | |
OLD | NEW |