OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, Google 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 1434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1445 case DocumentMarker::Spelling: | 1445 case DocumentMarker::Spelling: |
1446 case DocumentMarker::Grammar: | 1446 case DocumentMarker::Grammar: |
1447 case DocumentMarker::TextMatch: | 1447 case DocumentMarker::TextMatch: |
1448 case DocumentMarker::Suggestion: | 1448 case DocumentMarker::Suggestion: |
1449 case DocumentMarker::SuggestionHighlight: | 1449 case DocumentMarker::SuggestionHighlight: |
1450 markerTypes.push_back(marker->type()); | 1450 markerTypes.push_back(marker->type()); |
1451 markerRanges.push_back( | 1451 markerRanges.push_back( |
1452 AXRange(marker->startOffset(), marker->endOffset())); | 1452 AXRange(marker->startOffset(), marker->endOffset())); |
1453 break; | 1453 break; |
1454 case DocumentMarker::Composition: | 1454 case DocumentMarker::Composition: |
| 1455 case DocumentMarker::Suggestion: |
| 1456 case DocumentMarker::SuggestionHighlight: |
1455 // No need for accessibility to know about these marker types. | 1457 // No need for accessibility to know about these marker types. |
1456 break; | 1458 break; |
1457 } | 1459 } |
1458 } | 1460 } |
1459 } | 1461 } |
1460 | 1462 |
1461 AXObject* AXNodeObject::inPageLinkTarget() const { | 1463 AXObject* AXNodeObject::inPageLinkTarget() const { |
1462 if (!m_node || !isHTMLAnchorElement(m_node) || !getDocument()) | 1464 if (!m_node || !isHTMLAnchorElement(m_node) || !getDocument()) |
1463 return AXObject::inPageLinkTarget(); | 1465 return AXObject::inPageLinkTarget(); |
1464 | 1466 |
(...skipping 1798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3263 return String(); | 3265 return String(); |
3264 return toTextControlElement(node)->strippedPlaceholder(); | 3266 return toTextControlElement(node)->strippedPlaceholder(); |
3265 } | 3267 } |
3266 | 3268 |
3267 DEFINE_TRACE(AXNodeObject) { | 3269 DEFINE_TRACE(AXNodeObject) { |
3268 visitor->trace(m_node); | 3270 visitor->trace(m_node); |
3269 AXObject::trace(visitor); | 3271 AXObject::trace(visitor); |
3270 } | 3272 } |
3271 | 3273 |
3272 } // namespace blink | 3274 } // namespace blink |
OLD | NEW |