Chromium Code Reviews| 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 [Extensible] | |
| 14 enum AccessibilityEventType { | |
| 15 VIEW_FOCUSED, | |
| 16 }; | |
| 17 | |
| 18 // AccessibilityNodeInfoData is a struct to contain info of | |
| 19 // AccessibilityNodeInfo in Android. | |
|
dcheng
2017/01/24 09:36:56
Nit: I'm not sure how stable Android documentation
yawano
2017/01/24 11:18:09
Done.
| |
| 20 struct AccessibilityNodeInfoData { | |
| 21 ScreenRect boundsInScreen; | |
| 22 }; | |
| 23 | |
| 24 // Next method ID: 1 | |
| 25 interface AccessibilityHelperHost { | |
| 26 // OnAccessibilityEvent is called when a converted Android accessibility event | |
| 27 // is sent from Android. | |
| 28 OnAccessibilityEvent@0(AccessibilityEventType eventType, | |
| 29 AccessibilityNodeInfoData eventSource); | |
| 30 }; | |
| 31 | |
| 32 // Next method ID: 1 | |
| 33 interface AccessibilityHelperInstance { | |
| 34 Init@0(AccessibilityHelperHost host); | |
| 35 }; | |
| OLD | NEW |