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

Side by Side Diff: mojo/services/public/interfaces/view_manager/view_manager_service_delegate.mojom

Issue 636363002: Splits window manager like methods into ViewManagerServiceDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor cleanup Created 6 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 import "mojo/public/interfaces/application/service_provider.mojom"
6 import "mojo/services/public/interfaces/input_events/input_events.mojom"
7
8 module mojo {
9
10 // Use by the ViewManagerService for the window manager connection.
11 [Client=ViewManagerServiceDelegateClient]
Ben Goodger (Google) 2014/10/09 17:11:40 I think these are probably better called something
12 interface ViewManagerServiceDelegate {
13 // Asks the delegate to embed the url at the appropriate place.
14 Embed(string url, ServiceProvider&? service_provider);
15
16 // Called when an input event is received from the native system. It's
17 // expected the delegate will call DispatchInputEventToView().
18 OnViewInputEvent(mojo.Event event);
19 };
20
21 [Client=ViewManagerServiceDelegate]
22 interface ViewManagerServiceDelegateClient {
23 // Dispatches the specified input event to the specified view.
24 DispatchInputEventToView(uint32 view_id, mojo.Event event);
25 };
26
27 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698