OLD | NEW |
---|---|
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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1321 } | 1321 } |
1322 | 1322 |
1323 bool AXLayoutObject::ariaRoleHasPresentationalChildren() const | 1323 bool AXLayoutObject::ariaRoleHasPresentationalChildren() const |
1324 { | 1324 { |
1325 switch (m_ariaRole) { | 1325 switch (m_ariaRole) { |
1326 case ButtonRole: | 1326 case ButtonRole: |
1327 case SliderRole: | 1327 case SliderRole: |
1328 case ImageRole: | 1328 case ImageRole: |
1329 case ProgressIndicatorRole: | 1329 case ProgressIndicatorRole: |
1330 case SpinButtonRole: | 1330 case SpinButtonRole: |
1331 // case SeparatorRole: | 1331 case SplitterRole: |
David Tseng
2016/09/06 22:39:53
Is this an unrelated change?
| |
1332 return true; | 1332 return true; |
1333 default: | 1333 default: |
1334 return false; | 1334 return false; |
1335 } | 1335 } |
1336 } | 1336 } |
1337 | 1337 |
1338 AXObject* AXLayoutObject::ancestorForWhichThisIsAPresentationalChild() const | 1338 AXObject* AXLayoutObject::ancestorForWhichThisIsAPresentationalChild() const |
1339 { | 1339 { |
1340 // Walk the parent chain looking for a parent that has presentational childr en | 1340 // Walk the parent chain looking for a parent that has presentational childr en |
1341 AXObject* parent = parentObjectIfExists(); | 1341 AXObject* parent = parentObjectIfExists(); |
(...skipping 1281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2623 result.unite(labelRect); | 2623 result.unite(labelRect); |
2624 } | 2624 } |
2625 } | 2625 } |
2626 } | 2626 } |
2627 } | 2627 } |
2628 | 2628 |
2629 return result; | 2629 return result; |
2630 } | 2630 } |
2631 | 2631 |
2632 } // namespace blink | 2632 } // namespace blink |
OLD | NEW |