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

Unified Diff: services/ui/public/interfaces/window_tree.mojom

Issue 2424633002: Revert of Mus+Ash: propagate Surface ID to parents (Closed)
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/window_tree.mojom
diff --git a/services/ui/public/interfaces/window_tree.mojom b/services/ui/public/interfaces/window_tree.mojom
index fb8f8b1d08e52c5bc8d4d61362929c4c80ef3d23..c7f68eda14f6938d4804c58036ace972879bbf10 100644
--- a/services/ui/public/interfaces/window_tree.mojom
+++ b/services/ui/public/interfaces/window_tree.mojom
@@ -5,7 +5,6 @@
module ui.mojom;
import "cc/ipc/surface_id.mojom";
-import "cc/ipc/surface_sequence.mojom";
import "services/ui/public/interfaces/cursor.mojom";
import "services/ui/public/interfaces/event_matcher.mojom";
import "services/ui/public/interfaces/mus_constants.mojom";
@@ -143,9 +142,6 @@
Surface& surface,
SurfaceClient client);
- // Returns surface reference back to window server for reclamation.
- OnWindowSurfaceDetached(uint32 window_id, cc.mojom.SurfaceSequence sequence);
-
// Reparents a window.
// This fails for any of the following reasons:
// . |parent| or |child| does not identify a valid window.
@@ -425,18 +421,6 @@
OnWindowPredefinedCursorChanged(uint32 window_id, Cursor cursor_id);
- // Invoked when a client window submits a new surface ID. The surface ID and
- // associated information is propagated to the parent connection. The parent
- // compositor can take ownership of this surface ID and embed it along with
- // the SurfaceSequence, frame_size, and device_scale_factor in a layer.
- // TODO(fsamuel): Surface IDs should be passed to parents directly instead of
- // going through the window server. http://crbug.com/655231
- OnWindowSurfaceChanged(uint32 window_id,
- cc.mojom.SurfaceId surface_id,
- cc.mojom.SurfaceSequence surface_sequence,
- gfx.mojom.Size frame_size,
- float device_scale_factor);
-
// Called when the mouse cursor enters a window on this connection for the
// first time, providing a list of available mime types. We want to send this
// set of data only one time, so this isn't part of OnDragEnter(), which
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698