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

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

Issue 695583002: Update mojo sdk to rev e083961bf11fd0c94d40be8853761da529b6d444 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch in https://codereview.chromium.org/692823003 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
« no previous file with comments | « mojo/services/public/interfaces/window_manager/window_manager.mojom ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 import "mojo/public/interfaces/application/service_provider.mojom" 5 import "mojo/services/public/interfaces/input_events/input_events.mojom";
6 import "mojo/services/public/interfaces/input_events/input_events.mojom"
7 6
8 module mojo { 7 module mojo {
9 8
10 interface WindowManager {
11 // Requests the WindowManager to embed the app for |url| at an appropriate
12 // View. See ViewManger::Embed() for details on |service_provider|.
13 Embed(string url, ServiceProvider&? service_provider);
14 };
15
16 // WindowManagerInternalService provides high level window management policies 9 // WindowManagerInternalService provides high level window management policies
17 // and is used by the ViewManager. This interface is marked as internal as only 10 // and is used by the ViewManager. This interface is marked as internal as only
18 // the view manager is allowed to connect to this. 11 // the view manager is allowed to connect to this.
19 [Client=WindowManagerInternalClient] 12 [Client=WindowManagerInternalClient]
20 interface WindowManagerInternalService { 13 interface WindowManagerInternalService {
21 // Called when an input event is received from the native system. It's 14 // Called when an input event is received from the native system. It's
22 // expected that when this is received the WindowManagerInternalService will 15 // expected that when this is received the WindowManagerInternalService will
23 // call back to WindowManagerInternalServieClient will call 16 // call back to WindowManagerInternalServieClient will call
24 // DispatchInputEventToView(). 17 // DispatchInputEventToView().
25 // TODO(sky): nuke this and instead have an interface specifically for 18 // TODO(sky): nuke this and instead have an interface specifically for
26 // dispatching events in the NativeViewportService. 19 // dispatching events in the NativeViewportService.
27 OnViewInputEvent(mojo.Event event); 20 OnViewInputEvent(mojo.Event event);
28 }; 21 };
29 22
30 // ViewManager provides this interface for functionality only exposed to the 23 // ViewManager provides this interface for functionality only exposed to the
31 // WindowManagerInternalServie. 24 // WindowManagerInternalServie.
32 [Client=WindowManagerInternalService] 25 [Client=WindowManagerInternalService]
33 interface WindowManagerInternalClient { 26 interface WindowManagerInternalClient {
34 // Dispatches the specified input event to the specified view. 27 // Dispatches the specified input event to the specified view.
35 DispatchInputEventToView(uint32 view_id, mojo.Event event); 28 DispatchInputEventToView(uint32 view_id, mojo.Event event);
36 }; 29 };
37 30
38 } 31 }
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/window_manager/window_manager.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698