| 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 module mojo; | 5 module mojo; |
| 6 | 6 |
| 7 import "geometry/public/interfaces/geometry.mojom"; | 7 import "geometry/public/interfaces/geometry.mojom"; |
| 8 import "input_events/public/interfaces/input_events.mojom"; | 8 import "input_events/public/interfaces/input_events.mojom"; |
| 9 import "mojo/public/interfaces/application/service_provider.mojom"; | 9 import "mojo/public/interfaces/application/service_provider.mojom"; |
| 10 import "native_viewport/public/interfaces/native_viewport.mojom"; | 10 import "native_viewport/public/interfaces/native_viewport.mojom"; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 // NOTE: This is not invoked if OnViewVisibilityChanged() is invoked. | 198 // NOTE: This is not invoked if OnViewVisibilityChanged() is invoked. |
| 199 OnViewDrawnStateChanged(uint32 view, bool drawn); | 199 OnViewDrawnStateChanged(uint32 view, bool drawn); |
| 200 | 200 |
| 201 // Invoked when a view property is changed. If this change is a removal, | 201 // Invoked when a view property is changed. If this change is a removal, |
| 202 // |new_data| is null. | 202 // |new_data| is null. |
| 203 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); | 203 OnViewSharedPropertyChanged(uint32 view, string name, array<uint8>? new_data); |
| 204 | 204 |
| 205 // Invoked when an event is targeted at the specified view. | 205 // Invoked when an event is targeted at the specified view. |
| 206 OnViewInputEvent(uint32 view, mojo.Event event) => (); | 206 OnViewInputEvent(uint32 view, mojo.Event event) => (); |
| 207 }; | 207 }; |
| OLD | NEW |