| OLD | NEW |
| 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 [DartUriBase="mojo/services/view_manager/public/interfaces"] |
| 5 module mojo; | 6 module mojo; |
| 6 | 7 |
| 7 import "geometry/public/interfaces/geometry.mojom"; | 8 import "geometry/public/interfaces/geometry.mojom"; |
| 8 import "input_events/public/interfaces/input_events.mojom"; | 9 import "input_events/public/interfaces/input_events.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 "native_viewport/public/interfaces/native_viewport.mojom"; |
| 11 import "surfaces/public/interfaces/surface_id.mojom"; | 12 import "surfaces/public/interfaces/surface_id.mojom"; |
| 12 import "view_manager/public/interfaces/view_manager_constants.mojom"; | 13 import "view_manager/public/interfaces/view_manager_constants.mojom"; |
| 13 | 14 |
| 14 struct ViewData { | 15 struct ViewData { |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); | 222 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); |
| 222 | 223 |
| 223 // Invoked when an event is targeted at the specified view. | 224 // Invoked when an event is targeted at the specified view. |
| 224 OnViewInputEvent(uint32 view, mojo.Event event) => (); | 225 OnViewInputEvent(uint32 view, mojo.Event event) => (); |
| 225 | 226 |
| 226 // Invoked solely on the WindowManager. See comments in PerformAction() above | 227 // Invoked solely on the WindowManager. See comments in PerformAction() above |
| 227 // for details. | 228 // for details. |
| 228 // TODO(sky): nuke this. | 229 // TODO(sky): nuke this. |
| 229 OnPerformAction(uint32 view_id, string action) => (bool success); | 230 OnPerformAction(uint32 view_id, string action) => (bool success); |
| 230 }; | 231 }; |
| OLD | NEW |