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

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

Issue 2009073003: Move mojo/converters/geometry -> ui/gfx/geometry/mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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
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 "components/mus/public/interfaces/compositor_frame.mojom"; 7 import "components/mus/public/interfaces/compositor_frame.mojom";
8 import "components/mus/public/interfaces/cursor.mojom"; 8 import "components/mus/public/interfaces/cursor.mojom";
9 import "components/mus/public/interfaces/event_matcher.mojom"; 9 import "components/mus/public/interfaces/event_matcher.mojom";
10 import "components/mus/public/interfaces/input_events.mojom"; 10 import "components/mus/public/interfaces/input_events.mojom";
11 import "components/mus/public/interfaces/mus_constants.mojom"; 11 import "components/mus/public/interfaces/mus_constants.mojom";
12 import "components/mus/public/interfaces/surface_id.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/mojo/geometry/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 };
23 23
24 struct WindowData { 24 struct WindowData {
25 uint32 parent_id; 25 uint32 parent_id;
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 // See description of WindowManager for details. 412 // See description of WindowManager for details.
413 GetWindowManager(associated WindowManager& internal); 413 GetWindowManager(associated WindowManager& internal);
414 }; 414 };
415 415
416 // Mus provides this interface as a way for clients to connect and obtain a 416 // Mus provides this interface as a way for clients to connect and obtain a
417 // WindowTree handle with a supplied WindowTreeClient handle. The 417 // WindowTree handle with a supplied WindowTreeClient handle. The
418 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one. 418 // WindowTreeClient has no roots, use NewTopLevelWindow() to create one.
419 interface WindowTreeFactory { 419 interface WindowTreeFactory {
420 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client); 420 CreateWindowTree(WindowTree& tree_request, WindowTreeClient client);
421 }; 421 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698