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

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

Issue 1531403003: Delete the ViewManager and WindowManager services. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-3
Patch Set: rebase Created 4 years, 11 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
« no previous file with comments | « mojo/services/window_manager/interfaces/window_manager.mojom ('k') | services/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 [DartPackage="mojo_services"]
6 module mojo;
7
8 import "geometry/interfaces/geometry.mojom";
9 import "input_events/interfaces/input_events.mojom";
10
11 // WindowManagerInternal is an interface provided by the WindowManager
12 // exclusively to the ViewManager.
13 [ServiceName="mojo::WindowManagerInternal"]
14 interface WindowManagerInternal {
15 // Creates a connection to the WindowManager specifically for a connection to
16 // the ViewManager. |connection_id| is the id of the connection to the
17 // ViewManager. See view_manager.mojom for details on the id.
18 CreateWindowManagerForViewManagerClient(
19 uint16 connection_id,
20 handle<message_pipe> window_manager_pipe);
21
22 SetViewManagerClient(handle<message_pipe> view_manager_client_request);
23 };
24
25 // WindowManagerInternalClient is an interface provide by the ViewManager
26 // exclusively to the WindowManager. It provides functionality only available
27 // to the WindowManager.
28 [ServiceName="mojo::WindowManagerInternalClient"]
29 interface WindowManagerInternalClient {
30 // Dispatches the specified input event to the specified view.
31 DispatchInputEventToView(uint32 view_id, mojo.Event event);
32
33 // Sets the native viewport size.
34 SetViewportSize(mojo.Size size);
35
36 // Clones the tree rooted at |view_id|. When the animation completes the clone
37 // is destroyed.
38 // TODO(sky): add actual animation.
39 // TODO(sky): I think this only makes sense when destroying (view is
40 // already visible), should it be named to indicate this?
41 CloneAndAnimate(uint32 view_id);
42 };
OLDNEW
« no previous file with comments | « mojo/services/window_manager/interfaces/window_manager.mojom ('k') | services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698