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

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 Blink test.# with '#' will be ignored, and an empty message aborts the commit. 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 // The 1-based index of an item in a set. 544 // The 1-based index of an item in a set.
545 long? posInSet; 545 long? posInSet;
546 546
547 // The number of items in a set; 547 // The number of items in a set;
548 long? setSize; 548 long? setSize;
549 549
550 // 550 //
551 // Table attributes. 551 // Table attributes.
552 // 552 //
553 553
554 // The number of rows in this table. 554 // The number of rows in this table as specified in the DOM.
555 long? tableRowCount; 555 long? tableRowCount;
556 556
557 // The number of columns in this table. 557 // The number of rows in this table as specified by the page author.
558 long? ariaRowCount;
559
560 // The number of columns in this table as specified in the DOM.
558 long? tableColumnCount; 561 long? tableColumnCount;
559 562
563 // The number of columns in this table as specified by the page author.
564 long? ariaColumnCount;
565
560 // 566 //
561 // Table cell attributes. 567 // Table cell attributes.
562 // 568 //
563 569
564 // The zero-based index of the column that this cell is in. 570 // The zero-based index of the column that this cell is in as specified in
571 // the DOM.
565 long? tableCellColumnIndex; 572 long? tableCellColumnIndex;
566 573
574 // The ARIA column index as specified by the page author.
575 long? ariaCellColumnIndex;
576
567 // The number of columns that this cell spans (default is 1). 577 // The number of columns that this cell spans (default is 1).
568 long? tableCellColumnSpan; 578 long? tableCellColumnSpan;
569 579
570 // 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
581 // DOM.
571 long? tableCellRowIndex; 582 long? tableCellRowIndex;
572 583
584 // The ARIA row index as specified by the page author.
585 long? ariaCellRowIndex;
586
573 // The number of rows that this cell spans (default is 1). 587 // The number of rows that this cell spans (default is 1).
574 long? tableCellRowSpan; 588 long? tableCellRowSpan;
575 589
576 // The corresponding column header for this cell. 590 // The corresponding column header for this cell.
577 AutomationNode? tableColumnHeader; 591 AutomationNode? tableColumnHeader;
578 592
579 // The corresponding row header for this cell. 593 // The corresponding row header for this cell.
580 AutomationNode? tableRowHeader; 594 AutomationNode? tableRowHeader;
581 595
582 // 596 //
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
789 // Everything in the tree between the two node/offset pairs gets included 803 // 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, 804 // 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 805 // 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 806 // 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 807 // the role staticText, the offset gives the character offset within
794 // the value where the selection starts or ends, respectively. 808 // the value where the selection starts or ends, respectively.
795 [nocompile] static void setDocumentSelection( 809 [nocompile] static void setDocumentSelection(
796 SetDocumentSelectionParams params); 810 SetDocumentSelectionParams params);
797 }; 811 };
798 }; 812 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698