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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXTable.h

Issue 2825803002: Expose internal treegrid role, do some cleanup for table/grid/treegrid handling (Closed)
Patch Set: Fix mac tests Created 3 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
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.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) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 public: 47 public:
48 static AXTable* Create(LayoutObject*, AXObjectCacheImpl&); 48 static AXTable* Create(LayoutObject*, AXObjectCacheImpl&);
49 ~AXTable() override; 49 ~AXTable() override;
50 DECLARE_VIRTUAL_TRACE(); 50 DECLARE_VIRTUAL_TRACE();
51 51
52 void Init() final; 52 void Init() final;
53 53
54 bool IsAXTable() const final; 54 bool IsAXTable() const final;
55 bool IsDataTable() const final; 55 bool IsDataTable() const final;
56 56
57 AccessibilityRole RoleValue() const final; 57 AccessibilityRole RoleValue() const;
58 58
59 void AddChildren() override; 59 void AddChildren() override;
60 void ClearChildren() final; 60 void ClearChildren() final;
61 61
62 // To be overridden by AXARIAGrid. 62 // To be overridden by AXARIAGrid.
63 virtual bool IsAriaTable() const { return false; } 63 virtual bool IsAriaTable() const { return false; }
64 virtual bool SupportsSelectedRows() { return false; } 64 virtual bool SupportsSelectedRows() { return false; }
65 65
66 const AXObjectVector& Columns(); 66 const AXObjectVector& Columns();
67 const AXObjectVector& Rows(); 67 const AXObjectVector& Rows();
(...skipping 21 matching lines...) Expand all
89 bool HasARIARole() const; 89 bool HasARIARole() const;
90 virtual bool IsTableExposableThroughAccessibility() const; 90 virtual bool IsTableExposableThroughAccessibility() const;
91 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const final; 91 bool ComputeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const final;
92 }; 92 };
93 93
94 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, IsAXTable()); 94 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, IsAXTable());
95 95
96 } // namespace blink 96 } // namespace blink
97 97
98 #endif // AXTable_h 98 #endif // AXTable_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698