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

Side by Side Diff: Source/core/accessibility/AXTable.h

Issue 243083002: Remove more dead code from accessibility/ folder (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/accessibility/AXRenderObject.cpp ('k') | Source/core/accessibility/AXTable.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 // To be overridden by AXARIAGrid. 58 // To be overridden by AXARIAGrid.
59 virtual bool isAriaTable() const { return false; } 59 virtual bool isAriaTable() const { return false; }
60 virtual bool supportsSelectedRows() { return false; } 60 virtual bool supportsSelectedRows() { return false; }
61 61
62 AccessibilityChildrenVector& columns(); 62 AccessibilityChildrenVector& columns();
63 AccessibilityChildrenVector& rows(); 63 AccessibilityChildrenVector& rows();
64 64
65 unsigned columnCount(); 65 unsigned columnCount();
66 unsigned rowCount(); 66 unsigned rowCount();
67 virtual int tableLevel() const OVERRIDE FINAL;
68 67
69 virtual String title() const OVERRIDE FINAL; 68 virtual String title() const OVERRIDE FINAL;
70 69
71 // all the cells in the table 70 // all the cells in the table
72 void cells(AccessibilityChildrenVector&); 71 void cells(AccessibilityChildrenVector&);
73 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row); 72 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row);
74 73
75 void columnHeaders(AccessibilityChildrenVector&); 74 void columnHeaders(AccessibilityChildrenVector&);
76 75
77 // an object that contains, as children, all the objects that act as headers 76 // an object that contains, as children, all the objects that act as headers
78 AXObject* headerContainer(); 77 AXObject* headerContainer();
79 78
80 protected: 79 protected:
81 AccessibilityChildrenVector m_rows; 80 AccessibilityChildrenVector m_rows;
82 AccessibilityChildrenVector m_columns; 81 AccessibilityChildrenVector m_columns;
83 82
84 RefPtr<AXObject> m_headerContainer; 83 RefPtr<AXObject> m_headerContainer;
85 bool m_isAXTable; 84 bool m_isAXTable;
86 85
87 bool hasARIARole() const; 86 bool hasARIARole() const;
88 virtual bool isTableExposableThroughAccessibility() const; 87 virtual bool isTableExposableThroughAccessibility() const;
89 virtual bool computeAccessibilityIsIgnored() const OVERRIDE FINAL; 88 virtual bool computeAccessibilityIsIgnored() const OVERRIDE FINAL;
90 }; 89 };
91 90
92 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable()); 91 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable());
93 92
94 } // namespace WebCore 93 } // namespace WebCore
95 94
96 #endif // AXTable_h 95 #endif // AXTable_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXRenderObject.cpp ('k') | Source/core/accessibility/AXTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698