Chromium Code Reviews

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

Issue 1391243003: Move //mojo/services/X/public/... to //mojo/services/X/... (part 4). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_3-x-no_public_2-x-no_public_1
Patch Set: copyright header Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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/interfaces/geometry.mojom"; 8 import "geometry/interfaces/geometry.mojom";
9 import "input_events/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/interfaces/native_viewport.mojom"; 11 import "native_viewport/interfaces/native_viewport.mojom";
12 import "surfaces/interfaces/surface_id.mojom"; 12 import "surfaces/interfaces/surface_id.mojom";
13 import "view_manager/public/interfaces/view_manager_constants.mojom"; 13 import "view_manager/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).
22 bool visible; 22 bool visible;
23 // True if this view is drawn on screen. A view is drawn if attached to the 23 // True if this view is drawn on screen. A view is drawn if attached to the
(...skipping 198 matching lines...)
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

Powered by Google App Engine