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

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

Issue 698883005: Update mojo sdk to rev cfc99316100efdfa7d53d83f9e07f1d4d3765c21 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 mojo;
6
5 import "mojo/services/public/interfaces/geometry/geometry.mojom"; 7 import "mojo/services/public/interfaces/geometry/geometry.mojom";
6 import "mojo/services/public/interfaces/input_events/input_events.mojom"; 8 import "mojo/services/public/interfaces/input_events/input_events.mojom";
7 9
8 module mojo { 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 };
9 20
10 // ViewManager provides this interface to the WindowManager. It enables 21 // WindowManagerInternalClient is an interface provide by the ViewManager
11 // capabilities specific to the WindowManager. 22 // exclusively to the WindowManager. It provides functionality only available
23 // to the WindowManager.
12 interface WindowManagerInternalClient { 24 interface WindowManagerInternalClient {
13 // Dispatches the specified input event to the specified view. 25 // Dispatches the specified input event to the specified view.
14 DispatchInputEventToView(uint32 view_id, mojo.Event event); 26 DispatchInputEventToView(uint32 view_id, mojo.Event event);
15 27
16 // Sets the native viewport size. 28 // Sets the native viewport size.
17 SetViewportSize(mojo.Size size); 29 SetViewportSize(mojo.Size size);
18 }; 30 };
19
20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698