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

Side by Side Diff: mojo/services/view_manager/public/interfaces/view_manager.mojom

Issue 1398973004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 2). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_1
Patch Set: add missing copyright notices Created 5 years, 2 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "geometry/public/interfaces/geometry.mojom"; 8 import "geometry/interfaces/geometry.mojom";
9 import "input_events/public/interfaces/input_events.mojom"; 9 import "input_events/interfaces/input_events.mojom";
10 import "mojo/public/interfaces/application/service_provider.mojom"; 10 import "mojo/public/interfaces/application/service_provider.mojom";
11 import "native_viewport/public/interfaces/native_viewport.mojom"; 11 import "native_viewport/interfaces/native_viewport.mojom";
12 import "surfaces/public/interfaces/surface_id.mojom"; 12 import "surfaces/public/interfaces/surface_id.mojom";
13 import "view_manager/public/interfaces/view_manager_constants.mojom"; 13 import "view_manager/public/interfaces/view_manager_constants.mojom";
14 14
15 struct ViewData { 15 struct ViewData {
16 uint32 parent_id; 16 uint32 parent_id;
17 uint32 view_id; 17 uint32 view_id;
18 mojo.Rect bounds; 18 mojo.Rect bounds;
19 map<string, array<uint8>> properties; 19 map<string, array<uint8>> properties;
20 // True if this view is visible. The view may not be drawn on screen (see 20 // True if this view is visible. The view may not be drawn on screen (see
21 // drawn for specifics). 21 // drawn for specifics).
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); 222 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data);
223 223
224 // Invoked when an event is targeted at the specified view. 224 // Invoked when an event is targeted at the specified view.
225 OnViewInputEvent(uint32 view, mojo.Event event) => (); 225 OnViewInputEvent(uint32 view, mojo.Event event) => ();
226 226
227 // Invoked solely on the WindowManager. See comments in PerformAction() above 227 // Invoked solely on the WindowManager. See comments in PerformAction() above
228 // for details. 228 // for details.
229 // TODO(sky): nuke this. 229 // TODO(sky): nuke this.
230 OnPerformAction(uint32 view_id, string action) => (bool success); 230 OnPerformAction(uint32 view_id, string action) => (bool success);
231 }; 231 };
OLDNEW
« no previous file with comments | « mojo/services/view_manager/public/interfaces/animations.mojom ('k') | mojo/services/window_manager/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698