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

Unified Diff: content/browser/accessibility/browser_accessibility.h

Issue 2964313002: Converts accNavigate over to the AXPlatformNode code. (Closed)
Patch Set: are -> is Created 3 years, 5 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
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/browser_accessibility.h
diff --git a/content/browser/accessibility/browser_accessibility.h b/content/browser/accessibility/browser_accessibility.h
index 94630d7fa8f1e007b65819dc5423fde2ad27a0b7..e790989dff6231531790fe84b8e7ff798c08ccbd 100644
--- a/content/browser/accessibility/browser_accessibility.h
+++ b/content/browser/accessibility/browser_accessibility.h
@@ -296,52 +296,6 @@ class CONTENT_EXPORT BrowserAccessibility : public ui::AXPlatformNodeDelegate {
base::string16 GetFontFamily() const;
base::string16 GetLanguage() const;
- // Returns the table or ARIA grid if inside one.
- BrowserAccessibility* GetTable() const;
-
- // If inside a table or ARIA grid, returns the cell found at the given index.
- // Indices are in row major order and each cell is counted once regardless of
- // its span.
- BrowserAccessibility* GetTableCell(int index) const;
-
- // If inside a table or ARIA grid, returns the cell at the given row and
- // column (0-based). Works correctly with cells that span multiple rows or
- // columns.
- BrowserAccessibility* GetTableCell(int row, int column) const;
-
- // If inside a table or ARIA grid, returns the zero-based index of the cell.
- // Indices are in row major order and each cell is counted once regardless of
- // its span. Returns -1 if the cell is not found or if not inside a table.
- int GetTableCellIndex() const;
-
- // If inside a table or ARIA grid, returns the physical column number for the
- // current cell. In contrast to logical columns, physical columns always start
- // from 0 and have no gaps in their numbering. Logical columns can be set
- // using aria-colindex.
- int GetTableColumn() const;
-
- // If inside a table or ARIA grid, returns the number of physical columns,
- // otherwise returns 0.
- int GetTableColumnCount() const;
-
- // If inside a table or ARIA grid, returns the number of physical columns that
- // this cell spans. If not a cell, returns 0.
- int GetTableColumnSpan() const;
-
- // If inside a table or ARIA grid, returns the physical row number for the
- // current cell. In contrast to logical rows, physical rows always start from
- // 0 and have no gaps in their numbering. Logical rows can be set using
- // aria-rowindex.
- int GetTableRow() const;
-
- // If inside a table or ARIA grid, returns the number of physical rows,
- // otherwise returns 0.
- int GetTableRowCount() const;
-
- // If inside a table or ARIA grid, returns the number of physical rows that
- // this cell spans. If not a cell, returns 0.
- int GetTableRowSpan() const;
-
virtual base::string16 GetText() const;
// Returns true if the bit corresponding to the given enum is 1.
@@ -387,6 +341,7 @@ class CONTENT_EXPORT BrowserAccessibility : public ui::AXPlatformNodeDelegate {
gfx::Rect GetScreenBoundsRect() const override;
gfx::NativeViewAccessible HitTestSync(int x, int y) override;
gfx::NativeViewAccessible GetFocus() override;
+ ui::AXPlatformNode* GetFromNodeID(int32_t id) override;
gfx::AcceleratedWidget GetTargetForNativeAccessibilityEvent() override;
bool AccessibilityPerformAction(const ui::AXActionData& data) override;
bool ShouldIgnoreHoveredStateForTesting() override;
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698