OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 14 matching lines...) Expand all Loading... |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/accessibility/AXARIAGridCell.h" | 30 #include "core/accessibility/AXARIAGridCell.h" |
31 | 31 |
32 #include "core/accessibility/AXTable.h" | 32 #include "core/accessibility/AXTable.h" |
33 #include "core/accessibility/AXTableRow.h" | 33 #include "core/accessibility/AXTableRow.h" |
34 | 34 |
35 using namespace std; | |
36 | 35 |
37 namespace WebCore { | 36 namespace WebCore { |
38 | 37 |
39 AXARIAGridCell::AXARIAGridCell(RenderObject* renderer) | 38 AXARIAGridCell::AXARIAGridCell(RenderObject* renderer) |
40 : AXTableCell(renderer) | 39 : AXTableCell(renderer) |
41 { | 40 { |
42 } | 41 } |
43 | 42 |
44 AXARIAGridCell::~AXARIAGridCell() | 43 AXARIAGridCell::~AXARIAGridCell() |
45 { | 44 { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 columnRange.first = k; | 114 columnRange.first = k; |
116 break; | 115 break; |
117 } | 116 } |
118 } | 117 } |
119 | 118 |
120 // as far as I can tell, grid cells cannot span columns | 119 // as far as I can tell, grid cells cannot span columns |
121 columnRange.second = 1; | 120 columnRange.second = 1; |
122 } | 121 } |
123 | 122 |
124 } // namespace WebCore | 123 } // namespace WebCore |
OLD | NEW |