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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
diff --git a/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom b/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
index c76bc729e6ef1c8717cb10955b6fe7dec302baea..54867f9f44336036b8cb0431eabd0fccdab1d1db 100644
--- a/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
+++ b/mojo/services/public/interfaces/window_manager/window_manager_internal.mojom
@@ -2,13 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+module mojo;
+
import "mojo/services/public/interfaces/geometry/geometry.mojom";
import "mojo/services/public/interfaces/input_events/input_events.mojom";
-module mojo {
+// WindowManagerInternal is an interface provided by the WindowManager
+// exclusively to the ViewManager.
+interface WindowManagerInternal {
+ // Creates a connection to the WindowManager specifically for a connection to
+ // the ViewManager. |connection_id| is the id of the connection to the
+ // ViewManager. See view_manager.mojom for details on the id.
+ CreateWindowManagerForViewManagerClient(
+ uint16 connection_id,
+ handle<message_pipe> window_manager_pipe);
+};
-// ViewManager provides this interface to the WindowManager. It enables
-// capabilities specific to the WindowManager.
+// WindowManagerInternalClient is an interface provide by the ViewManager
+// exclusively to the WindowManager. It provides functionality only available
+// to the WindowManager.
interface WindowManagerInternalClient {
// Dispatches the specified input event to the specified view.
DispatchInputEventToView(uint32 view_id, mojo.Event event);
@@ -16,5 +28,3 @@ interface WindowManagerInternalClient {
// Sets the native viewport size.
SetViewportSize(mojo.Size size);
};
-
-}

Powered by Google App Engine
This is Rietveld 408576698