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

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

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 3 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 mojo; 5 module mojo;
6 6
7 import "components/view_manager/public/interfaces/compositor_frame.mojom"; 7 import "components/mus/public/interfaces/compositor_frame.mojom";
8 import "components/view_manager/public/interfaces/surface_id.mojom"; 8 import "components/mus/public/interfaces/surface_id.mojom";
9 import "components/view_manager/public/interfaces/view_manager_constants.mojom"; 9 import "components/mus/public/interfaces/view_manager_constants.mojom";
10 import "mojo/application/public/interfaces/service_provider.mojom"; 10 import "mojo/application/public/interfaces/service_provider.mojom";
11 import "network/public/interfaces/url_loader.mojom"; 11 import "network/public/interfaces/url_loader.mojom";
12 import "ui/mojo/events/input_events.mojom"; 12 import "ui/mojo/events/input_events.mojom";
13 import "ui/mojo/ime/text_input_state.mojom"; 13 import "ui/mojo/ime/text_input_state.mojom";
14 import "ui/mojo/geometry/geometry.mojom"; 14 import "ui/mojo/geometry/geometry.mojom";
15 15
16 struct ViewportMetrics { 16 struct ViewportMetrics {
17 Size size_in_pixels; 17 Size size_in_pixels;
18 // A value of 0 indicates the real value is not yet available. 18 // A value of 0 indicates the real value is not yet available.
19 float device_pixel_ratio = 0.0; 19 float device_pixel_ratio = 0.0;
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 246
247 // Invoked when a view property is changed. If this change is a removal, 247 // Invoked when a view property is changed. If this change is a removal,
248 // |new_data| is null. 248 // |new_data| is null.
249 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); 249 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data);
250 250
251 // Invoked when an event is targeted at the specified view. 251 // Invoked when an event is targeted at the specified view.
252 OnViewInputEvent(uint32 view, mojo.Event event) => (); 252 OnViewInputEvent(uint32 view, mojo.Event event) => ();
253 253
254 OnViewFocused(uint32 focused_view_id); 254 OnViewFocused(uint32 focused_view_id);
255 }; 255 };
OLDNEW
« no previous file with comments | « components/mus/public/interfaces/view_manager_constants.mojom ('k') | components/mus/public/interfaces/view_tree_host.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698