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

Side by Side Diff: services/ui/public/interfaces/window_manager.mojom

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
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/cursor.mojom"; 7 import "services/ui/public/interfaces/cursor.mojom";
8 import "components/mus/public/interfaces/event_matcher.mojom"; 8 import "services/ui/public/interfaces/event_matcher.mojom";
9 import "components/mus/public/interfaces/window_manager_constants.mojom"; 9 import "services/ui/public/interfaces/window_manager_constants.mojom";
10 import "components/mus/public/interfaces/window_tree_constants.mojom"; 10 import "services/ui/public/interfaces/window_tree_constants.mojom";
11 import "ui/events/mojo/event.mojom"; 11 import "ui/events/mojo/event.mojom";
12 import "ui/gfx/geometry/mojo/geometry.mojom"; 12 import "ui/gfx/geometry/mojo/geometry.mojom";
13 13
14 // WindowManager is used when a WindowTreeClient attempts to modify 14 // WindowManager is used when a WindowTreeClient attempts to modify
15 // a property of the embed root. When this happens WindowTree calls the 15 // a property of the embed root. When this happens WindowTree calls the
16 // appropriate function on WindowManager. For example, if a 16 // appropriate function on WindowManager. For example, if a
17 // WindowTreeClient calls SetWindowBounds() on its embed root, WindowTree 17 // WindowTreeClient calls SetWindowBounds() on its embed root, WindowTree
18 // calls WmSetBounds(). WindowManager can then decide if it wants to 18 // calls WmSetBounds(). WindowManager can then decide if it wants to
19 // change the bounds or not. 19 // change the bounds or not.
20 // 20 //
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // associated with. 125 // associated with.
126 WmSetFrameDecorationValues(FrameDecorationValues values); 126 WmSetFrameDecorationValues(FrameDecorationValues values);
127 127
128 // Sets the cursor that the non-client areas of the window should use. 128 // Sets the cursor that the non-client areas of the window should use.
129 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id); 129 WmSetNonClientCursor(uint32 window_id, Cursor cursor_id);
130 130
131 // Response from WmCreateTopLevelWindow() informing the client of the id for 131 // Response from WmCreateTopLevelWindow() informing the client of the id for
132 // the new window. 132 // the new window.
133 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id); 133 OnWmCreatedTopLevelWindow(uint32 change_id, uint32 window_id);
134 }; 134 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698