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

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

Issue 2799443002: Implemented ARIA colindex, rowindex, colcount and rowcount for Chromevox. (Closed)
Patch Set: Fixed automation test. 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 unified diff | Download patch
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 {
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // The 1-based index of an item in a set. 545 // The 1-based index of an item in a set.
546 long? posInSet; 546 long? posInSet;
547 547
548 // The number of items in a set; 548 // The number of items in a set;
549 long? setSize; 549 long? setSize;
550 550
551 // 551 //
552 // Table attributes. 552 // Table attributes.
553 // 553 //
554 554
555 // The number of rows in this table. 555 // The number of rows in this table as specified in the DOM.
556 long? tableRowCount; 556 long? tableRowCount;
557 557
558 // The number of columns in this table. 558 // The number of rows in this table as specified by the page author.
559 long? ariaRowCount;
560
561 // The number of columns in this table as specified in the DOM.
559 long? tableColumnCount; 562 long? tableColumnCount;
560 563
564 // The number of columns in this table as specified by the page author.
565 long? ariaColumnCount;
566
561 // 567 //
562 // Table cell attributes. 568 // Table cell attributes.
563 // 569 //
564 570
565 // The zero-based index of the column that this cell is in. 571 // The zero-based index of the column that this cell is in as specified in t he DOM.
michaelpg 2017/04/06 14:52:05 nit: wrap line at 80 chars
566 long? tableCellColumnIndex; 572 long? tableCellColumnIndex;
567 573
574 // The ARIA column index as specified by the page author.
575 long? ariaCellColumnIndex;
576
568 // The number of columns that this cell spans (default is 1). 577 // The number of columns that this cell spans (default is 1).
569 long? tableCellColumnSpan; 578 long? tableCellColumnSpan;
570 579
571 // The zero-based index of the row that this cell is in. 580 // The zero-based index of the row that this cell is in as specified in the DOM.
michaelpg 2017/04/06 14:52:05 nit: wrap line at 80 chars
572 long? tableCellRowIndex; 581 long? tableCellRowIndex;
573 582
583 // The ARIA row index as specified by the page author.
584 long? ariaCellRowIndex;
585
574 // The number of rows that this cell spans (default is 1). 586 // The number of rows that this cell spans (default is 1).
575 long? tableCellRowSpan; 587 long? tableCellRowSpan;
576 588
577 // The corresponding column header for this cell. 589 // The corresponding column header for this cell.
578 AutomationNode? tableColumnHeader; 590 AutomationNode? tableColumnHeader;
579 591
580 // The corresponding row header for this cell. 592 // The corresponding row header for this cell.
581 AutomationNode? tableRowHeader; 593 AutomationNode? tableRowHeader;
582 594
583 // 595 //
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // Everything in the tree between the two node/offset pairs gets included 801 // Everything in the tree between the two node/offset pairs gets included
790 // in the selection. The anchor is where the user started the selection, 802 // in the selection. The anchor is where the user started the selection,
791 // while the focus is the point at which the selection gets extended 803 // while the focus is the point at which the selection gets extended
792 // e.g. when dragging with a mouse or using the keyboard. For nodes with 804 // e.g. when dragging with a mouse or using the keyboard. For nodes with
793 // the role staticText, the offset gives the character offset within 805 // the role staticText, the offset gives the character offset within
794 // the value where the selection starts or ends, respectively. 806 // the value where the selection starts or ends, respectively.
795 [nocompile] static void setDocumentSelection( 807 [nocompile] static void setDocumentSelection(
796 SetDocumentSelectionParams params); 808 SetDocumentSelectionParams params);
797 }; 809 };
798 }; 810 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698