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

Side by Side Diff: components/mus/public/interfaces/window_tree.mojom

Issue 2014233002: Implement cc::SurfaceId StructTraits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 6 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 | « components/mus/public/interfaces/surface_id.mojom ('k') | components/mus/ws/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 mus.mojom; 5 module mus.mojom;
6 6
7 import "cc/ipc/surface_id.mojom";
7 import "components/mus/public/interfaces/compositor_frame.mojom"; 8 import "components/mus/public/interfaces/compositor_frame.mojom";
8 import "components/mus/public/interfaces/cursor.mojom"; 9 import "components/mus/public/interfaces/cursor.mojom";
9 import "components/mus/public/interfaces/event_matcher.mojom"; 10 import "components/mus/public/interfaces/event_matcher.mojom";
10 import "components/mus/public/interfaces/input_events.mojom"; 11 import "components/mus/public/interfaces/input_events.mojom";
11 import "components/mus/public/interfaces/mus_constants.mojom"; 12 import "components/mus/public/interfaces/mus_constants.mojom";
12 import "components/mus/public/interfaces/surface_id.mojom";
13 import "components/mus/public/interfaces/window_manager.mojom"; 13 import "components/mus/public/interfaces/window_manager.mojom";
14 import "components/mus/public/interfaces/window_manager_constants.mojom"; 14 import "components/mus/public/interfaces/window_manager_constants.mojom";
15 import "ui/gfx/geometry/mojo/geometry.mojom"; 15 import "ui/gfx/geometry/mojo/geometry.mojom";
16 import "ui/mojo/ime/text_input_state.mojom"; 16 import "ui/mojo/ime/text_input_state.mojom";
17 17
18 struct ViewportMetrics { 18 struct ViewportMetrics {
19 mojo.Size size_in_pixels; 19 mojo.Size size_in_pixels;
20 // A value of 0 indicates the real value is not yet available. 20 // A value of 0 indicates the real value is not yet available.
21 float device_pixel_ratio = 0.0; 21 float device_pixel_ratio = 0.0;
22 }; 22 };
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 // See description of WindowManager for details. 402 // See description of WindowManager for details.
403 GetWindowManager(associated WindowManager& internal); 403 GetWindowManager(associated WindowManager& internal);
404 }; 404 };
405 405
406 // Mus provides this interface as a way for clients to connect and obtain a 406 // Mus provides this interface as a way for clients to connect and obtain a
407 // WindowTree handle with a supplied WindowTreeClient handle. The 407 // WindowTree handle with a supplied WindowTreeClient handle. The
408 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. 408 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one.
409 interface WindowTreeFactory { 409 interface WindowTreeFactory {
410 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 410 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
411 }; 411 };
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/surface_id.mojom ('k') | components/mus/ws/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698