Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: mojo/services/public/interfaces/window_manager/window_manager.mojom

Issue 644793002: Renames window_manager.mojom to window_manager2.mojom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: really fix gn Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 SetCapture(uint32 view_id) => (bool success);
10 FocusWindow(uint32 view_id) => (bool success);
11 ActivateWindow(uint32 view_id) => (bool success);
12 };
13
14 [Client=WindowManagerService]
15 interface WindowManagerClient {
16 // Called when the window manager is ready to use (in the event a client
17 // connects to it before it has been initialized).
18 OnWindowManagerReady();
19
20 // TODO(beng): how is the WM supposed to know if a view is known to a client
21 // or not?
22 OnCaptureChanged(uint32 old_capture_view_id, uint32 new_capture_view_id);
23
24 OnFocusChanged(uint32 old_focused_node_id, uint32 new_focused_node_id);
25 OnActiveWindowChanged(uint32 old_focused_window, uint32 new_focused_window);
26 };
27
28 }
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/window_manager/BUILD.gn ('k') | mojo/services/public/interfaces/window_manager2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698