Commit 83bf7323 authored by Saho Kobayashi's avatar Saho Kobayashi Committed by Commit Bot

Add content change types to mojo

Add content change types to mojom to support CONTENT_CHANGE_TYPE_STATE_DESCRIPTION.
Android side CL is ag/11788321

AX-Relnotes: n/a.
Bug: b/154433831
Change-Id: I78beb556215c6dc27e04da7019c4489110334105
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2235584Reviewed-by: default avatarHiroki Sato <hirokisato@chromium.org>
Reviewed-by: default avatarSara Kato <sarakato@chromium.org>
Reviewed-by: default avatarJorge Lucangeli Obes <jorgelo@chromium.org>
Commit-Queue: Saho Kobayashi <sahok@chromium.org>
Cr-Commit-Position: refs/heads/master@{#777195}
parent 6a0406af
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// Next MinVersion: 22 // Next MinVersion: 23
module arc.mojom; module arc.mojom;
...@@ -47,6 +47,22 @@ enum AccessibilityEventType { ...@@ -47,6 +47,22 @@ enum AccessibilityEventType {
ASSIST_READING_CONTEXT, ASSIST_READING_CONTEXT,
}; };
// ContentChangeType lists the possible sub types of WINDOW_STATE_CHANGED and
// WINDOW_CONTENT_CHANGED events on Android ordered as same as developer guide
// of return value of getContentChangeTypes.
// https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent?hl=en#getContentChangeTypes()
[Extensible]
enum ContentChangeType {
CONTENT_DESCRIPTION,
STATE_DESCRIPTION,
SUBTREE,
TEXT,
PANE_TITLE,
UNDEFINED,
PANE_APPEARED,
PANE_DISAPPEARED,
};
// Possible actions that can be performed on an AccessibilityNodeInfo. // Possible actions that can be performed on an AccessibilityNodeInfo.
[Extensible] [Extensible]
enum AccessibilityActionType { enum AccessibilityActionType {
...@@ -345,6 +361,7 @@ enum AccessibilityEventIntProperty { ...@@ -345,6 +361,7 @@ enum AccessibilityEventIntProperty {
MAX_SCROLL_Y, MAX_SCROLL_Y,
SCROLL_DELTA_X, SCROLL_DELTA_X,
SCROLL_DELTA_Y, SCROLL_DELTA_Y,
CONTENT_CHANGE_TYPES,
}; };
// These fields are taken from string attributes of // These fields are taken from string attributes of
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment