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

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

Issue 2797453002: Rename DisplayCompositor to MojoFrameSinkManager. (Closed)
Patch Set: Rebase. Created 3 years, 8 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/surfaces/BUILD.gn » ('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/frame_sink_id.mojom"; 7 import "cc/ipc/frame_sink_id.mojom";
8 import "cc/ipc/local_surface_id.mojom"; 8 import "cc/ipc/local_surface_id.mojom";
9 import "cc/ipc/surface_id.mojom"; 9 import "cc/ipc/surface_id.mojom";
10 import "cc/ipc/surface_info.mojom"; 10 import "cc/ipc/surface_info.mojom";
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 // change. For example, if connection 1 changes the bounds of a window by 323 // change. For example, if connection 1 changes the bounds of a window by
324 // calling SetWindowBounds(), connection 1 does not receive 324 // calling SetWindowBounds(), connection 1 does not receive
325 // OnWindowBoundsChanged(). 325 // OnWindowBoundsChanged().
326 interface WindowTreeClient { 326 interface WindowTreeClient {
327 // Invoked when the client application has been embedded at |root|. 327 // Invoked when the client application has been embedded at |root|.
328 // See Embed() on WindowTree for more details. |tree| will be a handle back to 328 // See Embed() on WindowTree for more details. |tree| will be a handle back to
329 // the window manager service, unless the connection is to the root connection 329 // the window manager service, unless the connection is to the root connection
330 // in which case it will be null. |parent_drawn| is true if roots parent is 330 // in which case it will be null. |parent_drawn| is true if roots parent is
331 // drawn, see OnParentDrawnStateChanged() for details. |display_id| identifies 331 // drawn, see OnParentDrawnStateChanged() for details. |display_id| identifies
332 // the display this root window is on. |frame_sink_id| uniquely identifies the 332 // the display this root window is on. |frame_sink_id| uniquely identifies the
333 // client in the display compositor. If the embedded window has a size, 333 // client in the frame sink manager. If the embedded window has a size,
334 // |local_surface_id| identifies the ID to use to submit CompositorFrames. 334 // |local_surface_id| identifies the ID to use to submit CompositorFrames.
335 OnEmbed(uint16 connection_id, 335 OnEmbed(uint16 connection_id,
336 WindowData root, 336 WindowData root,
337 WindowTree? tree, 337 WindowTree? tree,
338 int64 display_id, 338 int64 display_id,
339 uint32 focused_window, 339 uint32 focused_window,
340 bool parent_drawn, 340 bool parent_drawn,
341 cc.mojom.FrameSinkId frame_sink_id, 341 cc.mojom.FrameSinkId frame_sink_id,
342 cc.mojom.LocalSurfaceId? local_surface_id); 342 cc.mojom.LocalSurfaceId? local_surface_id);
343 343
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 // See description of WindowManager for details. 532 // See description of WindowManager for details.
533 GetWindowManager(associated WindowManager& internal); 533 GetWindowManager(associated WindowManager& internal);
534 }; 534 };
535 535
536 // Mus provides this interface as a way for clients to connect and obtain a 536 // Mus provides this interface as a way for clients to connect and obtain a
537 // WindowTree handle with a supplied WindowTreeClient handle. The 537 // WindowTree handle with a supplied WindowTreeClient handle. The
538 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. 538 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one.
539 interface WindowTreeFactory { 539 interface WindowTreeFactory {
540 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 540 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
541 }; 541 };
OLDNEW
« no previous file with comments | « services/ui/public/interfaces/window_manager.mojom ('k') | services/ui/surfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698