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 1195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1206 switch (marker->type()) { | 1206 switch (marker->type()) { |
1207 case DocumentMarker::Spelling: | 1207 case DocumentMarker::Spelling: |
1208 case DocumentMarker::Grammar: | 1208 case DocumentMarker::Grammar: |
1209 case DocumentMarker::TextMatch: | 1209 case DocumentMarker::TextMatch: |
1210 markerTypes.append(marker->type()); | 1210 markerTypes.append(marker->type()); |
1211 markerRanges.append( | 1211 markerRanges.append( |
1212 AXRange(marker->startOffset(), marker->endOffset())); | 1212 AXRange(marker->startOffset(), marker->endOffset())); |
1213 break; | 1213 break; |
1214 case DocumentMarker::InvisibleSpellcheck: | 1214 case DocumentMarker::InvisibleSpellcheck: |
1215 case DocumentMarker::Composition: | 1215 case DocumentMarker::Composition: |
| 1216 case DocumentMarker::PersistingComposition: |
1216 // No need for accessibility to know about these marker types. | 1217 // No need for accessibility to know about these marker types. |
1217 break; | 1218 break; |
1218 } | 1219 } |
1219 } | 1220 } |
1220 } | 1221 } |
1221 | 1222 |
1222 AccessibilityOrientation AXNodeObject::orientation() const { | 1223 AccessibilityOrientation AXNodeObject::orientation() const { |
1223 const AtomicString& ariaOrientation = getAttribute(aria_orientationAttr); | 1224 const AtomicString& ariaOrientation = getAttribute(aria_orientationAttr); |
1224 AccessibilityOrientation orientation = AccessibilityOrientationUndefined; | 1225 AccessibilityOrientation orientation = AccessibilityOrientationUndefined; |
1225 if (equalIgnoringCase(ariaOrientation, "horizontal")) | 1226 if (equalIgnoringCase(ariaOrientation, "horizontal")) |
(...skipping 1666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2892 return String(); | 2893 return String(); |
2893 return toTextControlElement(node)->strippedPlaceholder(); | 2894 return toTextControlElement(node)->strippedPlaceholder(); |
2894 } | 2895 } |
2895 | 2896 |
2896 DEFINE_TRACE(AXNodeObject) { | 2897 DEFINE_TRACE(AXNodeObject) { |
2897 visitor->trace(m_node); | 2898 visitor->trace(m_node); |
2898 AXObject::trace(visitor); | 2899 AXObject::trace(visitor); |
2899 } | 2900 } |
2900 | 2901 |
2901 } // namespace blink | 2902 } // namespace blink |
OLD | NEW |