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

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

Issue 466273002: Remove OpenWindow from the WindowManager interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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
« no previous file with comments | « mojo/public/cpp/application/service_provider_impl.h ('k') | mojo/services/window_manager/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ee31416f5c527255c29df06187861ea2f148782d..41deb44e07cd60e7b37645867912a690fd2e5bde 100644
--- a/mojo/services/public/interfaces/window_manager/window_manager.mojom
+++ b/mojo/services/public/interfaces/window_manager/window_manager.mojom
@@ -6,11 +6,9 @@ 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);
+ SetCapture(uint32 view_id) => (bool success);
+ FocusWindow(uint32 view_id) => (bool success);
+ ActivateWindow(uint32 view_id) => (bool success);
};
[Client=WindowManagerService]
@@ -19,9 +17,9 @@ interface WindowManagerClient {
// connects to it before it has been initialized).
OnWindowManagerReady();
- // TODO(beng): how is the WM supposed to know if a node is known to a client
+ // TODO(beng): how is the WM supposed to know if a view is known to a client
// or not?
- OnCaptureChanged(uint32 old_capture_node_id, uint32 new_capture_node_id);
+ OnCaptureChanged(uint32 old_capture_view_id, uint32 new_capture_view_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/public/cpp/application/service_provider_impl.h ('k') | mojo/services/window_manager/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698