| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // Next MinVersion: 1 |
| 6 |
| 7 module arc.mojom; |
| 8 |
| 9 import "screen_rect.mojom"; |
| 10 |
| 11 // AccessibilityEventType is a enum which corresponds to event types of |
| 12 // AccessibilityEvent in Android. |
| 13 // https://developer.android.com/reference/android/view/accessibility/Accessibil
ityEvent.html |
| 14 [Extensible] |
| 15 enum AccessibilityEventType { |
| 16 VIEW_FOCUSED, |
| 17 }; |
| 18 |
| 19 // AccessibilityNodeInfoData is a struct to contain info of |
| 20 // AccessibilityNodeInfo in Android. |
| 21 // https://developer.android.com/reference/android/view/accessibility/Accessibil
ityNodeInfo.html |
| 22 struct AccessibilityNodeInfoData { |
| 23 ScreenRect boundsInScreen; |
| 24 }; |
| 25 |
| 26 // Next method ID: 1 |
| 27 interface AccessibilityHelperHost { |
| 28 // OnAccessibilityEvent is called when a converted Android accessibility event |
| 29 // is sent from Android. |
| 30 OnAccessibilityEvent@0(AccessibilityEventType eventType, |
| 31 AccessibilityNodeInfoData? eventSource); |
| 32 }; |
| 33 |
| 34 // Next method ID: 1 |
| 35 interface AccessibilityHelperInstance { |
| 36 Init@0(AccessibilityHelperHost host); |
| 37 }; |
| OLD | NEW |