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

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: Moved declarations to the section labeled "For a table" Created 5 years, 11 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
« 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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 BLINK_EXPORT void setSelectedTextRange(int selectionStart, int selectionEnd) const; 187 BLINK_EXPORT void setSelectedTextRange(int selectionStart, int selectionEnd) const;
188 BLINK_EXPORT void setValue(WebString) const; 188 BLINK_EXPORT void setValue(WebString) const;
189 189
190 // For a table 190 // For a table
191 BLINK_EXPORT unsigned columnCount() const; 191 BLINK_EXPORT unsigned columnCount() const;
192 BLINK_EXPORT unsigned rowCount() const; 192 BLINK_EXPORT unsigned rowCount() const;
193 BLINK_EXPORT WebAXObject cellForColumnAndRow(unsigned column, unsigned row) const; 193 BLINK_EXPORT WebAXObject cellForColumnAndRow(unsigned column, unsigned row) const;
194 BLINK_EXPORT WebAXObject headerContainerObject() const; 194 BLINK_EXPORT WebAXObject headerContainerObject() const;
195 BLINK_EXPORT WebAXObject rowAtIndex(unsigned rowIndex) const; 195 BLINK_EXPORT WebAXObject rowAtIndex(unsigned rowIndex) const;
196 BLINK_EXPORT WebAXObject columnAtIndex(unsigned columnIndex) const; 196 BLINK_EXPORT WebAXObject columnAtIndex(unsigned columnIndex) const;
197 BLINK_EXPORT void rowHeaders(WebVector<WebAXObject>&) const;
198 BLINK_EXPORT void columnHeaders(WebVector<WebAXObject>&) const;
197 199
198 // For a table row 200 // For a table row
199 BLINK_EXPORT unsigned rowIndex() const; 201 BLINK_EXPORT unsigned rowIndex() const;
200 BLINK_EXPORT WebAXObject rowHeader() const; 202 BLINK_EXPORT WebAXObject rowHeader() const;
201 203
202 // For a table column 204 // For a table column
203 BLINK_EXPORT unsigned columnIndex() const; 205 BLINK_EXPORT unsigned columnIndex() const;
204 BLINK_EXPORT WebAXObject columnHeader() const; 206 BLINK_EXPORT WebAXObject columnHeader() const;
205 207
206 // For a table cell 208 // For a table cell
(...skipping 24 matching lines...) Expand all
231 operator WTF::PassRefPtr<AXObject>() const; 233 operator WTF::PassRefPtr<AXObject>() const;
232 #endif 234 #endif
233 235
234 private: 236 private:
235 WebPrivatePtr<AXObject> m_private; 237 WebPrivatePtr<AXObject> m_private;
236 }; 238 };
237 239
238 } // namespace blink 240 } // namespace blink
239 241
240 #endif 242 #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