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

Side by Side Diff: content/browser/accessibility/browser_accessibility.h

Issue 2539503003: ARIA 1.1: implementation for aria-col-* and aria-row-*. (Closed)
Patch Set: Fix bad rebase Created 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 bool* is_defined, 323 bool* is_defined,
324 bool* is_mixed) const; 324 bool* is_mixed) const;
325 325
326 base::string16 GetFontFamily() const; 326 base::string16 GetFontFamily() const;
327 base::string16 GetLanguage() const; 327 base::string16 GetLanguage() const;
328 virtual base::string16 GetText() const; 328 virtual base::string16 GetText() const;
329 329
330 // Returns true if the bit corresponding to the given state enum is 1. 330 // Returns true if the bit corresponding to the given state enum is 1.
331 bool HasState(ui::AXState state_enum) const; 331 bool HasState(ui::AXState state_enum) const;
332 332
333 // Returns true if this node is an cell or an table header. 333 // Returns true if this node is a cell or a table header.
334 bool IsCellOrTableHeaderRole() const; 334 bool IsCellOrTableHeaderRole() const;
335 335
336 // Returns true if this node is a table, a grid or a treegrid.
337 bool IsTableOrGridOrTreeGridRole() const;
338
336 // Returns true if the caret is active on this object. 339 // Returns true if the caret is active on this object.
337 bool HasCaret() const; 340 bool HasCaret() const;
338 341
339 // True if this is a web area, and its grandparent is a presentational iframe. 342 // True if this is a web area, and its grandparent is a presentational iframe.
340 bool IsWebAreaForPresentationalIframe() const; 343 bool IsWebAreaForPresentationalIframe() const;
341 344
342 virtual bool IsClickable() const; 345 virtual bool IsClickable() const;
343 bool IsControl() const; 346 bool IsControl() const;
344 bool IsMenuRelated() const; 347 bool IsMenuRelated() const;
345 bool IsNativeTextControl() const; 348 bool IsNativeTextControl() const;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 // bounds, but "virtual" elements in the accessibility tree that don't 381 // bounds, but "virtual" elements in the accessibility tree that don't
379 // correspond to a layed-out element sometimes don't have bounds. 382 // correspond to a layed-out element sometimes don't have bounds.
380 void FixEmptyBounds(gfx::RectF* bounds) const; 383 void FixEmptyBounds(gfx::RectF* bounds) const;
381 384
382 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); 385 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility);
383 }; 386 };
384 387
385 } // namespace content 388 } // namespace content
386 389
387 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_ 390 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698