Chromium Code Reviews| Index: components/arc/common/accessibility_helper.mojom |
| diff --git a/components/arc/common/accessibility_helper.mojom b/components/arc/common/accessibility_helper.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ab73a967d885a22998e2a1ffa91f0848413cdfd4 |
| --- /dev/null |
| +++ b/components/arc/common/accessibility_helper.mojom |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +// Next MinVersion: 1 |
| + |
| +module arc.mojom; |
| + |
| +import "screen_rect.mojom"; |
| + |
| +// AccessibilityEventType is a enum which corresponds to event types of |
| +// AccessibilityEvent in Android. |
| +[Extensible] |
| +enum AccessibilityEventType { |
| + VIEW_FOCUSED, |
| +}; |
| + |
| +// AccessibilityNodeInfoData is a struct to contain info of |
| +// AccessibilityNodeInfo in Android. |
| +struct AccessibilityNodeInfoData { |
| + ScreenRect boundsInScreen; |
| +}; |
| + |
| +// Next method ID: 1 |
| +interface AccessibilityHelperHost { |
| + OnAccessibilityEvent@0(AccessibilityEventType eventType, |
|
hidehiko
2017/01/20 13:24:15
This is an interface between ARC and Chrome. So it
yawano
2017/01/23 09:04:51
Done.
|
| + AccessibilityNodeInfoData eventSource); |
| +}; |
| + |
| +// Next method ID: 1 |
| +interface AccessibilityHelperInstance { |
| + Init@0(AccessibilityHelperHost host); |
| +}; |