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 |
| index d80b7355993d7e2e21eef62df5b15d09fd3ff340..508d86505f48cd6380662fe640ef50198125b845 100644 |
| --- a/components/arc/common/accessibility_helper.mojom |
| +++ b/components/arc/common/accessibility_helper.mojom |
| @@ -156,7 +156,10 @@ enum AccessibilityFilterType { |
| FOCUS, |
| // Send a complete tree from the event source's root for every event. |
| - ALL |
| + ALL, |
| + |
| + // Send complete subtrees for root nodes with whitelisted package names. |
| + WHITELISTED_PACKAGE_NAME |
|
yawano
2017/04/21 04:26:36
small nit: WHITELISTED_PACKAGE_NAMES?
David Tseng
2017/04/25 18:29:48
I thought about that but the others are singular.
|
| }; |
| // AccessibilityEventData is a struct to contain info of |
| @@ -168,7 +171,7 @@ struct AccessibilityEventData { |
| array<AccessibilityNodeInfoData> nodeData; |
| }; |
| -// Next method ID: 2 |
| +// Next method ID: 3 |
| interface AccessibilityHelperHost { |
| OnAccessibilityEventDeprecated@0(AccessibilityEventType eventType, |
| AccessibilityNodeInfoData? eventSource); |
| @@ -176,6 +179,10 @@ interface AccessibilityHelperHost { |
| // OnAccessibilityEvent is called when a converted Android accessibility event |
| // is sent from Android. |
| OnAccessibilityEvent@1(AccessibilityEventData eventData); |
| + |
| + // onAccessibilityTreeDestroyed gets called when the Android accessibility |
| + // tree becomes invalid. |
| + OnAccessibilityTreeDestroyed@2(); |
|
Luis Héctor Chávez
2017/04/21 15:20:07
[MinVersion=2] OnAccessibilityTreeDestroyed@2();
David Tseng
2017/04/25 18:29:48
Acknowledged.
|
| }; |
| // Next method ID: 3 |