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

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

Issue 2655463009: aura-mus: Implement DesktopWindowTreeHostMus::StackAbove(). (Closed)
Patch Set: Add comment. Created 3 years, 11 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
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/access_policy.h » ('j') | 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 module ui.mojom; 5 module ui.mojom;
6 6
7 import "cc/ipc/surface_info.mojom"; 7 import "cc/ipc/surface_info.mojom";
8 import "cc/ipc/mojo_compositor_frame_sink.mojom"; 8 import "cc/ipc/mojo_compositor_frame_sink.mojom";
9 import "services/ui/public/interfaces/cursor.mojom"; 9 import "services/ui/public/interfaces/cursor.mojom";
10 import "services/ui/public/interfaces/event_matcher.mojom"; 10 import "services/ui/public/interfaces/event_matcher.mojom";
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 // accept events, none of its descendant windows accept events either. 257 // accept events, none of its descendant windows accept events either.
258 SetCanAcceptEvents(uint32 window_id, bool accept_events); 258 SetCanAcceptEvents(uint32 window_id, bool accept_events);
259 259
260 // See documentation for WindowTreeClient::OnWindowInputEvent(). 260 // See documentation for WindowTreeClient::OnWindowInputEvent().
261 OnWindowInputEventAck(uint32 event_id, EventResult result); 261 OnWindowInputEventAck(uint32 event_id, EventResult result);
262 262
263 // If the current focus is (or is a child of) |window_id|, requests that the 263 // If the current focus is (or is a child of) |window_id|, requests that the
264 // window manager change the focus to the next activatable window. 264 // window manager change the focus to the next activatable window.
265 DeactivateWindow(uint32 window_id); 265 DeactivateWindow(uint32 window_id);
266 266
267 // Stacks the window |above_id| above |below_id|. These two windows must
268 // share the same parent.
269 StackAbove(uint32 change_id, uint32 above_id, uint32 below_id);
270
267 // Stacks the window above all sibling windows. 271 // Stacks the window above all sibling windows.
268 StackAtTop(uint32 change_id, uint32 window_id); 272 StackAtTop(uint32 change_id, uint32 window_id);
269 273
270 // See description of WindowManager for details. 274 // See description of WindowManager for details.
271 GetWindowManagerClient(associated WindowManagerClient& internal); 275 GetWindowManagerClient(associated WindowManagerClient& internal);
272 276
273 // Returns a shared memory segment that contains two 16-bit ints packed into a 277 // Returns a shared memory segment that contains two 16-bit ints packed into a
274 // single Atomic32, which represent the current location of the mouse cursor 278 // single Atomic32, which represent the current location of the mouse cursor
275 // where the location is (x << 16) | y. 279 // where the location is (x << 16) | y.
276 GetCursorLocationMemory() => (handle<shared_buffer> cursor_buffer); 280 GetCursorLocationMemory() => (handle<shared_buffer> cursor_buffer);
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 // See description of WindowManager for details. 499 // See description of WindowManager for details.
496 GetWindowManager(associated WindowManager& internal); 500 GetWindowManager(associated WindowManager& internal);
497 }; 501 };
498 502
499 // Mus provides this interface as a way for clients to connect and obtain a 503 // Mus provides this interface as a way for clients to connect and obtain a
500 // WindowTree handle with a supplied WindowTreeClient handle. The 504 // WindowTree handle with a supplied WindowTreeClient handle. The
501 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. 505 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one.
502 interface WindowTreeFactory { 506 interface WindowTreeFactory {
503 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 507 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
504 }; 508 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/ws/access_policy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698