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

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

Issue 907983002: Table's columns and rows should not be modified outside. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | Source/modules/accessibility/AXTable.cpp » ('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) 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 virtual AccessibilityRole roleValue() const override final; 54 virtual AccessibilityRole roleValue() const override final;
55 55
56 virtual void addChildren() override; 56 virtual void addChildren() override;
57 virtual void clearChildren() override final; 57 virtual void clearChildren() override final;
58 58
59 // To be overridden by AXARIAGrid. 59 // To be overridden by AXARIAGrid.
60 virtual bool isAriaTable() const { return false; } 60 virtual bool isAriaTable() const { return false; }
61 virtual bool supportsSelectedRows() { return false; } 61 virtual bool supportsSelectedRows() { return false; }
62 62
63 AccessibilityChildrenVector& columns(); 63 const AccessibilityChildrenVector& columns();
64 AccessibilityChildrenVector& rows(); 64 const AccessibilityChildrenVector& rows();
65 65
66 unsigned columnCount(); 66 unsigned columnCount();
67 unsigned rowCount(); 67 unsigned rowCount();
68 68
69 virtual String title() const override final; 69 virtual String title() const override final;
70 70
71 // all the cells in the table 71 // all the cells in the table
72 void cells(AccessibilityChildrenVector&); 72 void cells(AccessibilityChildrenVector&);
73 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row); 73 AXTableCell* cellForColumnAndRow(unsigned column, unsigned row);
74 74
(...skipping 13 matching lines...) Expand all
88 bool hasARIARole() const; 88 bool hasARIARole() const;
89 virtual bool isTableExposableThroughAccessibility() const; 89 virtual bool isTableExposableThroughAccessibility() const;
90 virtual bool computeAccessibilityIsIgnored() const override final; 90 virtual bool computeAccessibilityIsIgnored() const override final;
91 }; 91 };
92 92
93 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable()); 93 DEFINE_AX_OBJECT_TYPE_CASTS(AXTable, isAXTable());
94 94
95 } // namespace blink 95 } // namespace blink
96 96
97 #endif // AXTable_h 97 #endif // AXTable_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXTable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698