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

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

Issue 861683003: Move services code brought in from Mojo to live under //third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 import "geometry/public/interfaces/geometry.mojom";
8 import "input_events/public/interfaces/input_events.mojom";
9
10 // WindowManagerInternal is an interface provided by the WindowManager
11 // exclusively to the ViewManager.
12 interface WindowManagerInternal {
13 // Creates a connection to the WindowManager specifically for a connection to
14 // the ViewManager. |connection_id| is the id of the connection to the
15 // ViewManager. See view_manager.mojom for details on the id.
16 CreateWindowManagerForViewManagerClient(
17 uint16 connection_id,
18 handle<message_pipe> window_manager_pipe);
19 };
20
21 // WindowManagerInternalClient is an interface provide by the ViewManager
22 // exclusively to the WindowManager. It provides functionality only available
23 // to the WindowManager.
24 interface WindowManagerInternalClient {
25 // Dispatches the specified input event to the specified view.
26 DispatchInputEventToView(uint32 view_id, mojo.Event event);
27
28 // Sets the native viewport size.
29 SetViewportSize(mojo.Size size);
30
31 // Clones the tree rooted at |view_id|. When the animation completes the clone
32 // is destroyed.
33 // TODO(sky): add actual animation.
34 // TODO(sky): I think this only makes sense when destroying (view is
35 // already visible), should it be named to indicate this?
36 CloneAndAnimate(uint32 view_id);
37 };
OLDNEW
« no previous file with comments | « mojo/services/window_manager/public/interfaces/window_manager.mojom ('k') | third_party/mojo_services/LICENSE » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698