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

Side by Side Diff: chrome/common/extensions/api/automation.idl

Issue 1655153003: Fire an accessible click event when a web node is clicked on. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fire_clicked_event
Patch Set: Added test for tap Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The <code>chrome.automation</code> API allows developers to access the 5 // The <code>chrome.automation</code> API allows developers to access the
6 // automation (accessibility) tree for the browser. The tree resembles the DOM 6 // automation (accessibility) tree for the browser. The tree resembles the DOM
7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be 7 // tree, but only exposes the <em>semantic</em> structure of a page. It can be
8 // used to programmatically interact with a page by examining names, roles, and 8 // used to programmatically interact with a page by examining names, roles, and
9 // states, listening for events, and performing actions on nodes. 9 // states, listening for events, and performing actions on nodes.
10 [nocompile] namespace automation { 10 [nocompile] namespace automation {
11 // Keep the following enums in sync with 'ui/accessibility/ax_enums.idl'. 11 // Keep the following enums in sync with 'ui/accessibility/ax_enums.idl'.
12 // They are kept here purely for extension docs generation. 12 // They are kept here purely for extension docs generation.
13 13
14 // Possible events fired on an $(ref:automation.AutomationNode). 14 // Possible events fired on an $(ref:automation.AutomationNode).
15 enum EventType { 15 enum EventType {
16 activedescendantchanged, 16 activedescendantchanged,
17 alert, 17 alert,
18 ariaAttributeChanged, 18 ariaAttributeChanged,
19 autocorrectionOccured, 19 autocorrectionOccured,
20 blur, 20 blur,
21 checkedStateChanged, 21 checkedStateChanged,
22 childrenChanged, 22 childrenChanged,
23 clicked,
23 documentSelectionChanged, 24 documentSelectionChanged,
24 focus, 25 focus,
25 hide, 26 hide,
26 hover, 27 hover,
27 invalidStatusChanged, 28 invalidStatusChanged,
28 layoutComplete, 29 layoutComplete,
29 liveRegionChanged, 30 liveRegionChanged,
30 loadComplete, 31 loadComplete,
31 locationChanged, 32 locationChanged,
32 menuEnd, 33 menuEnd,
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 // Everything in the tree between the two node/offset pairs gets included 633 // Everything in the tree between the two node/offset pairs gets included
633 // in the selection. The anchor is where the user started the selection, 634 // in the selection. The anchor is where the user started the selection,
634 // while the focus is the point at which the selection gets extended 635 // while the focus is the point at which the selection gets extended
635 // e.g. when dragging with a mouse or using the keyboard. For nodes with 636 // e.g. when dragging with a mouse or using the keyboard. For nodes with
636 // the role staticText, the offset gives the character offset within 637 // the role staticText, the offset gives the character offset within
637 // the value where the selection starts or ends, respectively. 638 // the value where the selection starts or ends, respectively.
638 [nocompile] static void setDocumentSelection( 639 [nocompile] static void setDocumentSelection(
639 SetDocumentSelectionParams params); 640 SetDocumentSelectionParams params);
640 }; 641 };
641 }; 642 };
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698