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

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

Issue 2539503003: ARIA 1.1: implementation for aria-col-* and aria-row-*. (Closed)
Patch Set: Fix Mac Created 4 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 | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | ui/accessibility/ax_enums.idl » ('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) 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 BLINK_EXPORT bool increment() const; 256 BLINK_EXPORT bool increment() const;
257 BLINK_EXPORT bool decrement() const; 257 BLINK_EXPORT bool decrement() const;
258 BLINK_EXPORT void setFocused(bool) const; 258 BLINK_EXPORT void setFocused(bool) const;
259 BLINK_EXPORT void setSelectedTextRange(int selectionStart, 259 BLINK_EXPORT void setSelectedTextRange(int selectionStart,
260 int selectionEnd) const; 260 int selectionEnd) const;
261 BLINK_EXPORT void setSequentialFocusNavigationStartingPoint() const; 261 BLINK_EXPORT void setSequentialFocusNavigationStartingPoint() const;
262 BLINK_EXPORT void setValue(WebString) const; 262 BLINK_EXPORT void setValue(WebString) const;
263 BLINK_EXPORT void showContextMenu() const; 263 BLINK_EXPORT void showContextMenu() const;
264 264
265 // For a table 265 // For a table
266 BLINK_EXPORT int ariaColumnCount() const;
dcheng 2016/12/16 08:53:42 Why are some ints and others unsigned?
dmazzoni 2016/12/20 18:16:32 The spec allows aria-colcount="-1" to indicate an
267 BLINK_EXPORT unsigned ariaColumnIndex() const;
268 BLINK_EXPORT int ariaRowCount() const;
269 BLINK_EXPORT unsigned ariaRowIndex() const;
266 BLINK_EXPORT unsigned columnCount() const; 270 BLINK_EXPORT unsigned columnCount() const;
267 BLINK_EXPORT unsigned rowCount() const; 271 BLINK_EXPORT unsigned rowCount() const;
268 BLINK_EXPORT WebAXObject cellForColumnAndRow(unsigned column, 272 BLINK_EXPORT WebAXObject cellForColumnAndRow(unsigned column,
269 unsigned row) const; 273 unsigned row) const;
270 BLINK_EXPORT WebAXObject headerContainerObject() const; 274 BLINK_EXPORT WebAXObject headerContainerObject() const;
271 BLINK_EXPORT WebAXObject rowAtIndex(unsigned rowIndex) const; 275 BLINK_EXPORT WebAXObject rowAtIndex(unsigned rowIndex) const;
272 BLINK_EXPORT WebAXObject columnAtIndex(unsigned columnIndex) const; 276 BLINK_EXPORT WebAXObject columnAtIndex(unsigned columnIndex) const;
273 BLINK_EXPORT void rowHeaders(WebVector<WebAXObject>&) const; 277 BLINK_EXPORT void rowHeaders(WebVector<WebAXObject>&) const;
274 BLINK_EXPORT void columnHeaders(WebVector<WebAXObject>&) const; 278 BLINK_EXPORT void columnHeaders(WebVector<WebAXObject>&) const;
275 279
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 operator AXObject*() const; 341 operator AXObject*() const;
338 #endif 342 #endif
339 343
340 private: 344 private:
341 WebPrivatePtr<AXObject> m_private; 345 WebPrivatePtr<AXObject> m_private;
342 }; 346 };
343 347
344 } // namespace blink 348 } // namespace blink
345 349
346 #endif 350 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | ui/accessibility/ax_enums.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698