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..b20b2ccb223e6699e7b15a96226914546a5162c0 |
| --- /dev/null |
| +++ b/components/arc/common/accessibility_helper.mojom |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2016 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 |
|
kinaba
2017/01/19 03:50:02
I'm not sure about the coding style for mojom so i
yawano
2017/01/19 06:30:35
Done.
Also fixed other lines in this file as they
|
| +// 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, AccessibilityNodeInfoData eventSource); |
| +}; |
| + |
| +// Next method ID: 1 |
| +interface AccessibilityHelperInstance { |
| + Init@0(AccessibilityHelperHost host); |
| +}; |