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

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

Issue 2557353003: Changes OnWindowHierarchyChanged() to include transient parent (Closed)
Patch Set: fix Created 4 years 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 | « no previous file | services/ui/public/interfaces/window_tree_constants.mojom » ('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_id.mojom"; 7 import "cc/ipc/surface_id.mojom";
8 import "cc/ipc/surface_sequence.mojom"; 8 import "cc/ipc/surface_sequence.mojom";
9 import "cc/ipc/mojo_compositor_frame_sink.mojom"; 9 import "cc/ipc/mojo_compositor_frame_sink.mojom";
10 import "services/ui/public/interfaces/cursor.mojom"; 10 import "services/ui/public/interfaces/cursor.mojom";
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 350
351 OnTransientWindowRemoved(uint32 window_id, 351 OnTransientWindowRemoved(uint32 window_id,
352 uint32 transient_window_id); 352 uint32 transient_window_id);
353 353
354 // Invoked when a change is done to the hierarchy. A value of 0 is used to 354 // Invoked when a change is done to the hierarchy. A value of 0 is used to
355 // identify a null window. For example, if the old_parent is NULL, 0 is 355 // identify a null window. For example, if the old_parent is NULL, 0 is
356 // supplied. 356 // supplied.
357 // If |window| was not visible to this client, but is visible now because 357 // If |window| was not visible to this client, but is visible now because
358 // |new_parent| is visible to this client, then |windows| contains details 358 // |new_parent| is visible to this client, then |windows| contains details
359 // about |window|, and all its descendants. |windows| includes any windows 359 // about |window|, and all its descendants. |windows| includes any windows
360 // that client may already know about, but did not know the parent because 360 // the client may already know about, but did not know the parent because
361 // the parent was previously not visible to this client. 361 // the parent was previously not visible to this client.
362 // This is not sent for hierarchy changes of windows not known to this client 362 // This is not sent for hierarchy changes of windows not known to this client
363 // or not attached to the tree. 363 // or not attached to the tree.
364 OnWindowHierarchyChanged(uint32 window, 364 OnWindowHierarchyChanged(uint32 window,
365 uint32 old_parent, 365 uint32 old_parent,
366 uint32 new_parent, 366 uint32 new_parent,
367 array<WindowData> windows); 367 array<WindowData> windows);
368 368
369 // Invoked when the order of windows within a parent changes. 369 // Invoked when the order of windows within a parent changes.
370 OnWindowReordered(uint32 window_id, 370 OnWindowReordered(uint32 window_id,
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 // See description of WindowManager for details. 492 // See description of WindowManager for details.
493 GetWindowManager(associated WindowManager& internal); 493 GetWindowManager(associated WindowManager& internal);
494 }; 494 };
495 495
496 // Mus provides this interface as a way for clients to connect and obtain a 496 // Mus provides this interface as a way for clients to connect and obtain a
497 // WindowTree handle with a supplied WindowTreeClient handle. The 497 // WindowTree handle with a supplied WindowTreeClient handle. The
498 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. 498 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one.
499 interface WindowTreeFactory { 499 interface WindowTreeFactory {
500 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 500 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
501 }; 501 };
OLDNEW
« no previous file with comments | « no previous file | services/ui/public/interfaces/window_tree_constants.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698