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

Side by Side Diff: components/view_manager/public/interfaces/view_manager.mojom

Issue 1085233004: Moves services implementations out of third_party/mojo_services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unnecessary changes Created 5 years, 8 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 "geometry/public/interfaces/geometry.mojom"; 7 import "components/native_viewport/public/interfaces/native_viewport.mojom";
8 import "input_events/public/interfaces/input_events.mojom"; 8 import "components/surfaces/public/interfaces/surface_id.mojom";
9 import "components/view_manager/public/interfaces/view_manager_constants.mojom";
9 import "mojo/public/interfaces/application/service_provider.mojom"; 10 import "mojo/public/interfaces/application/service_provider.mojom";
10 import "native_viewport/public/interfaces/native_viewport.mojom"; 11 import "ui/mojo/events/input_events.mojom";
11 import "surfaces/public/interfaces/surface_id.mojom"; 12 import "ui/mojo/geometry/geometry.mojom";
12 import "view_manager/public/interfaces/view_manager_constants.mojom";
13 13
14 struct ViewData { 14 struct ViewData {
15 uint32 parent_id; 15 uint32 parent_id;
16 uint32 view_id; 16 uint32 view_id;
17 mojo.Rect bounds; 17 mojo.Rect bounds;
18 map<string, array<uint8>> properties; 18 map<string, array<uint8>> properties;
19 // True if this view is visible. The view may not be drawn on screen (see 19 // True if this view is visible. The view may not be drawn on screen (see
20 // drawn for specifics). 20 // drawn for specifics).
21 bool visible; 21 bool visible;
22 // True if this view is drawn on screen. A view is drawn if attached to the 22 // True if this view is drawn on screen. A view is drawn if attached to the
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); 221 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data);
222 222
223 // Invoked when an event is targeted at the specified view. 223 // Invoked when an event is targeted at the specified view.
224 OnViewInputEvent(uint32 view, mojo.Event event) => (); 224 OnViewInputEvent(uint32 view, mojo.Event event) => ();
225 225
226 // Invoked solely on the WindowManager. See comments in PerformAction() above 226 // Invoked solely on the WindowManager. See comments in PerformAction() above
227 // for details. 227 // for details.
228 // TODO(sky): nuke this. 228 // TODO(sky): nuke this.
229 OnPerformAction(uint32 view_id, string action) => (bool success); 229 OnPerformAction(uint32 view_id, string action) => (bool success);
230 }; 230 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698