| 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 1218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1229 DocumentMarkerVector markers = markerController.markersFor(getNode()); | 1229 DocumentMarkerVector markers = markerController.markersFor(getNode()); |
| 1230 for (size_t i = 0; i < markers.size(); ++i) { | 1230 for (size_t i = 0; i < markers.size(); ++i) { |
| 1231 DocumentMarker* marker = markers[i]; | 1231 DocumentMarker* marker = markers[i]; |
| 1232 switch (marker->type()) { | 1232 switch (marker->type()) { |
| 1233 case DocumentMarker::Spelling: | 1233 case DocumentMarker::Spelling: |
| 1234 case DocumentMarker::Grammar: | 1234 case DocumentMarker::Grammar: |
| 1235 case DocumentMarker::TextMatch: | 1235 case DocumentMarker::TextMatch: |
| 1236 markerTypes.append(marker->type()); | 1236 markerTypes.append(marker->type()); |
| 1237 markerRanges.append(AXRange(marker->startOffset(), marker->endOffset
())); | 1237 markerRanges.append(AXRange(marker->startOffset(), marker->endOffset
())); |
| 1238 break; | 1238 break; |
| 1239 case DocumentMarker::InvisibleSpellcheck: | |
| 1240 case DocumentMarker::Composition: | 1239 case DocumentMarker::Composition: |
| 1241 // No need for accessibility to know about these marker types. | 1240 // No need for accessibility to know about these marker types. |
| 1242 break; | 1241 break; |
| 1243 } | 1242 } |
| 1244 } | 1243 } |
| 1245 } | 1244 } |
| 1246 | 1245 |
| 1247 AccessibilityOrientation AXNodeObject::orientation() const | 1246 AccessibilityOrientation AXNodeObject::orientation() const |
| 1248 { | 1247 { |
| 1249 const AtomicString& ariaOrientation = getAttribute(aria_orientationAttr); | 1248 const AtomicString& ariaOrientation = getAttribute(aria_orientationAttr); |
| (...skipping 1654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2904 return placeholder; | 2903 return placeholder; |
| 2905 } | 2904 } |
| 2906 | 2905 |
| 2907 DEFINE_TRACE(AXNodeObject) | 2906 DEFINE_TRACE(AXNodeObject) |
| 2908 { | 2907 { |
| 2909 visitor->trace(m_node); | 2908 visitor->trace(m_node); |
| 2910 AXObject::trace(visitor); | 2909 AXObject::trace(visitor); |
| 2911 } | 2910 } |
| 2912 | 2911 |
| 2913 } // namespace blink | 2912 } // namespace blink |
| OLD | NEW |