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

Side by Side Diff: components/mus/public/interfaces/window_tree_host.mojom

Issue 1423133003: Routes calls to WM through WS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no braces Created 5 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 mus.mojom; 5 module mus.mojom;
6 6
7 import "components/mus/public/interfaces/window_manager.mojom";
7 import "components/mus/public/interfaces/window_tree.mojom"; 8 import "components/mus/public/interfaces/window_tree.mojom";
8 import "ui/mojo/events/input_event_constants.mojom"; 9 import "ui/mojo/events/input_event_constants.mojom";
9 import "ui/mojo/events/input_event_matcher.mojom"; 10 import "ui/mojo/events/input_event_matcher.mojom";
10 import "ui/mojo/events/input_events.mojom"; 11 import "ui/mojo/events/input_events.mojom";
11 import "ui/mojo/events/input_key_codes.mojom"; 12 import "ui/mojo/events/input_key_codes.mojom";
12 import "ui/mojo/geometry/geometry.mojom"; 13 import "ui/mojo/geometry/geometry.mojom";
13 14
14 // WindowTreeHost encapsulates a unique underlying platform window, with a tree 15 // WindowTreeHost encapsulates a unique underlying platform window, with a tree
15 // of windows. 16 // of windows.
16 interface WindowTreeHost { 17 interface WindowTreeHost {
(...skipping 18 matching lines...) Expand all
35 }; 36 };
36 37
37 interface WindowTreeHostClient { 38 interface WindowTreeHostClient {
38 // An accelerator registered via AddAccelerator() has been triggered. 39 // An accelerator registered via AddAccelerator() has been triggered.
39 OnAccelerator(uint32 id, mojo.Event event); 40 OnAccelerator(uint32 id, mojo.Event event);
40 }; 41 };
41 42
42 interface WindowTreeHostFactory { 43 interface WindowTreeHostFactory {
43 CreateWindowTreeHost(WindowTreeHost& window_tree_host, 44 CreateWindowTreeHost(WindowTreeHost& window_tree_host,
44 WindowTreeHostClient? host_client, 45 WindowTreeHostClient? host_client,
45 WindowTreeClient tree_client); 46 WindowTreeClient tree_client,
47 WindowManager? window_manager);
46 }; 48 };
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/window_tree.mojom ('k') | components/mus/ws/window_tree_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698