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

Unified Diff: mojo/services/public/interfaces/accessibility/accessibility.mojom

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month 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: mojo/services/public/interfaces/accessibility/accessibility.mojom
diff --git a/mojo/services/public/interfaces/accessibility/accessibility.mojom b/mojo/services/public/interfaces/accessibility/accessibility.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..abc97c3a2f08951723675c3c24f8da1d62c2aab6
--- /dev/null
+++ b/mojo/services/public/interfaces/accessibility/accessibility.mojom
@@ -0,0 +1,35 @@
+// Copyright 2014 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.
+
+module mojo;
+
+import "mojo/services/public/interfaces/geometry/geometry.mojom";
+
+interface AxProvider {
+ GetTree() => (array<AxNode> nodes);
+};
+
+struct AxNode {
+ // Must be non-zero.
+ uint32 id;
+
+ // Can be zero if the node has no parent or next sibling.
+ uint32 parent_id;
+ uint32 next_sibling_id;
+
+ mojo.Rect bounds;
+
+ // At most one of the below will be present.
+ // TODO(aa): These should become a union.
+ AxLink? link;
+ AxText? text;
+};
+
+struct AxLink {
+ string url;
+};
+
+struct AxText {
+ string content;
+};
« no previous file with comments | « mojo/services/public/interfaces/accessibility/BUILD.gn ('k') | mojo/services/public/interfaces/clipboard/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698