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

Side by Side Diff: mojo/services/public/interfaces/window_manager/window_manager.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/public/interfaces/application/service_provider.mojom"; 7 import "mojo/public/interfaces/application/service_provider.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 [Client=WindowManagerClient]
9
10 interface WindowManager { 11 interface WindowManager {
11 // Requests the WindowManager to embed the app for |url| at an appropriate 12 // Requests the WindowManager to embed the app for |url| at an appropriate
12 // View. See ViewManger::Embed() for details on |service_provider|. 13 // View. See ViewManger::Embed() for details on |service_provider|.
13 Embed(string url, ServiceProvider&? service_provider); 14 Embed(string url, ServiceProvider&? service_provider);
15
16 SetCapture(uint32 view_id) => (bool success);
17 FocusWindow(uint32 view_id) => (bool success);
18 ActivateWindow(uint32 view_id) => (bool success);
14 }; 19 };
15 20
16 } 21 interface WindowManagerClient {
22 OnCaptureChanged(uint32 old_capture_view_id, uint32 new_capture_view_id);
23 OnFocusChanged(uint32 old_focused_node_id, uint32 new_focused_node_id);
24 OnActiveWindowChanged(uint32 old_focused_window, uint32 new_focused_window);
25 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698