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

Unified Diff: mojo/services/public/interfaces/window_manager/window_manager.mojom

Issue 405523002: Add ability APIs for opening a window with a url embedded, focusing and activating a window. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: mojo/services/public/interfaces/window_manager/window_manager.mojom
diff --git a/mojo/services/public/interfaces/window_manager/window_manager.mojom b/mojo/services/public/interfaces/window_manager/window_manager.mojom
index dec3a79a84191c2611244016c44691a313515e93..ee31416f5c527255c29df06187861ea2f148782d 100644
--- a/mojo/services/public/interfaces/window_manager/window_manager.mojom
+++ b/mojo/services/public/interfaces/window_manager/window_manager.mojom
@@ -7,7 +7,10 @@ module mojo {
[Client=WindowManagerClient]
interface WindowManagerService {
OpenWindow() => (uint32 node_id);
+ OpenWindowWithURL(string url) => (uint32 node_id);
SetCapture(uint32 node_id) => (bool success);
+ FocusWindow(uint32 node_id) => (bool success);
+ ActivateWindow(uint32 node_id) => (bool success);
};
[Client=WindowManagerService]
@@ -19,6 +22,9 @@ interface WindowManagerClient {
// TODO(beng): how is the WM supposed to know if a node is known to a client
// or not?
OnCaptureChanged(uint32 old_capture_node_id, uint32 new_capture_node_id);
+
+ OnFocusChanged(uint32 old_focused_node_id, uint32 new_focused_node_id);
+ OnActiveWindowChanged(uint32 old_focused_window, uint32 new_focused_window);
};
}
« no previous file with comments | « mojo/services/public/cpp/view_manager/lib/view_manager_client_impl.cc ('k') | mojo/services/window_manager/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698