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

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

Issue 2875753002: Implement aura::WindowPortMus::CreateCompositorFrameSink() (Closed)
Patch Set: WIP Created 3 years, 7 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/cpp/client_compositor_frame_sink.cc ('k') | services/ui/ws/window_tree.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/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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 gfx.mojom.Point screen_location, 308 gfx.mojom.Point screen_location,
309 map<string, array<uint8>> drag_data, 309 map<string, array<uint8>> drag_data,
310 skia.mojom.Bitmap? drag_image, 310 skia.mojom.Bitmap? drag_image,
311 gfx.mojom.Vector2d drag_image_offset, 311 gfx.mojom.Vector2d drag_image_offset,
312 uint32 drag_operation, 312 uint32 drag_operation,
313 PointerKind source); 313 PointerKind source);
314 314
315 // Called by the client to cancel any in progress drag drop operation. This 315 // Called by the client to cancel any in progress drag drop operation. This
316 // will result in a change completed for the underlying change. 316 // will result in a change completed for the underlying change.
317 CancelDragDrop(uint32 window_id); 317 CancelDragDrop(uint32 window_id);
318
319 // Get the FrameSinkId for the given window_id.
320 // TODO(penghuang): Remove this function when the FrameSinkId allocation is
321 // moved to client. http://crbug.com/712302
322 [Sync]
323 GetFrameSinkId(uint32 window_id) => (cc.mojom.FrameSinkId? frame_sink_id);
318 }; 324 };
319 325
320 // Changes to windows are not sent to the connection that originated the 326 // Changes to windows are not sent to the connection that originated the
321 // change. For example, if connection 1 changes the bounds of a window by 327 // change. For example, if connection 1 changes the bounds of a window by
322 // calling SetWindowBounds(), connection 1 does not receive 328 // calling SetWindowBounds(), connection 1 does not receive
323 // OnWindowBoundsChanged(). 329 // OnWindowBoundsChanged().
324 interface WindowTreeClient { 330 interface WindowTreeClient {
325 // Invoked when the client application has been embedded at |root|. 331 // Invoked when the client application has been embedded at |root|.
326 // See Embed() on WindowTree for more details. |tree| will be a handle back to 332 // See Embed() on WindowTree for more details. |tree| will be a handle back to
327 // the window manager service, unless the connection is to the root connection 333 // the window manager service, unless the connection is to the root connection
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 // See description of WindowManager for details. 536 // See description of WindowManager for details.
531 GetWindowManager(associated WindowManager& internal); 537 GetWindowManager(associated WindowManager& internal);
532 }; 538 };
533 539
534 // Mus provides this interface as a way for clients to connect and obtain a 540 // Mus provides this interface as a way for clients to connect and obtain a
535 // WindowTree handle with a supplied WindowTreeClient handle. The 541 // WindowTree handle with a supplied WindowTreeClient handle. The
536 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. 542 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one.
537 interface WindowTreeFactory { 543 interface WindowTreeFactory {
538 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 544 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
539 }; 545 };
OLDNEW
« no previous file with comments | « services/ui/public/cpp/client_compositor_frame_sink.cc ('k') | services/ui/ws/window_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698