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

Side by Side Diff: public/web/WebAXObject.h

Issue 797223002: Provides an API to cope with table headers in Accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Separated tableHeaders into rowHeaders and columnHeaders. Created 6 years 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 | « Source/web/WebAXObject.cpp ('k') | no next file » | 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 BLINK_EXPORT unsigned columnCount() const; 190 BLINK_EXPORT unsigned columnCount() const;
191 BLINK_EXPORT unsigned rowCount() const; 191 BLINK_EXPORT unsigned rowCount() const;
192 BLINK_EXPORT WebAXObject cellForColumnAndRow(unsigned column, unsigned row) const; 192 BLINK_EXPORT WebAXObject cellForColumnAndRow(unsigned column, unsigned row) const;
193 BLINK_EXPORT WebAXObject headerContainerObject() const; 193 BLINK_EXPORT WebAXObject headerContainerObject() const;
194 BLINK_EXPORT WebAXObject rowAtIndex(unsigned rowIndex) const; 194 BLINK_EXPORT WebAXObject rowAtIndex(unsigned rowIndex) const;
195 BLINK_EXPORT WebAXObject columnAtIndex(unsigned columnIndex) const; 195 BLINK_EXPORT WebAXObject columnAtIndex(unsigned columnIndex) const;
196 196
197 // For a table row 197 // For a table row
198 BLINK_EXPORT unsigned rowIndex() const; 198 BLINK_EXPORT unsigned rowIndex() const;
199 BLINK_EXPORT WebAXObject rowHeader() const; 199 BLINK_EXPORT WebAXObject rowHeader() const;
200 BLINK_EXPORT void rowHeaders(WebVector<WebAXObject>&) const;
dmazzoni 2014/12/19 19:02:36 The comment above this group of functions implies
200 201
201 // For a table column 202 // For a table column
202 BLINK_EXPORT unsigned columnIndex() const; 203 BLINK_EXPORT unsigned columnIndex() const;
203 BLINK_EXPORT WebAXObject columnHeader() const; 204 BLINK_EXPORT WebAXObject columnHeader() const;
205 BLINK_EXPORT void columnHeaders(WebVector<WebAXObject>&) const;
204 206
205 // For a table cell 207 // For a table cell
206 BLINK_EXPORT unsigned cellColumnIndex() const; 208 BLINK_EXPORT unsigned cellColumnIndex() const;
207 BLINK_EXPORT unsigned cellColumnSpan() const; 209 BLINK_EXPORT unsigned cellColumnSpan() const;
208 BLINK_EXPORT unsigned cellRowIndex() const; 210 BLINK_EXPORT unsigned cellRowIndex() const;
209 BLINK_EXPORT unsigned cellRowSpan() const; 211 BLINK_EXPORT unsigned cellRowSpan() const;
210 212
211 // Load inline text boxes for just this subtree, even if 213 // Load inline text boxes for just this subtree, even if
212 // settings->inlineTextBoxAccessibilityEnabled() is false. 214 // settings->inlineTextBoxAccessibilityEnabled() is false.
213 BLINK_EXPORT void loadInlineTextBoxes() const; 215 BLINK_EXPORT void loadInlineTextBoxes() const;
(...skipping 16 matching lines...) Expand all
230 operator WTF::PassRefPtr<AXObject>() const; 232 operator WTF::PassRefPtr<AXObject>() const;
231 #endif 233 #endif
232 234
233 private: 235 private:
234 WebPrivatePtr<AXObject> m_private; 236 WebPrivatePtr<AXObject> m_private;
235 }; 237 };
236 238
237 } // namespace blink 239 } // namespace blink
238 240
239 #endif 241 #endif
OLDNEW
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698