Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: components/arc/common/accessibility_helper.mojom

Issue 2826423003: Expand Chrome OS ARC support to create one tree source per package (Closed)
Patch Set: 1->n mapping from package name to task ids. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c7703fe2426fe2bc835515dea32029c5218e37a9 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
};
// AccessibilityEventData is a struct to contain info of
@@ -178,7 +181,7 @@ interface AccessibilityHelperHost {
OnAccessibilityEvent@1(AccessibilityEventData eventData);
};
-// Next method ID: 3
+// Next method ID: 4
interface AccessibilityHelperInstance {
Init@0(AccessibilityHelperHost host);
@@ -187,4 +190,7 @@ interface AccessibilityHelperInstance {
// Set a filter on the event types received.
SetFilter@2(AccessibilityFilterType filterType);
+
+ // Sets native Chrome accessibility support on or off for the current package.
+ SetCurrentPackageNativeAccessibility@3(bool enabled);
yawano 2017/04/27 10:01:27 Wouldn't this cause race condition? i.e. current p
David Tseng 2017/04/28 00:27:44 Yes, you're right. I was adding this to avoid anot
};

Powered by Google App Engine
This is Rietveld 408576698