| 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 1406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1417 } | 1417 } |
| 1418 | 1418 |
| 1419 return level; | 1419 return level; |
| 1420 } | 1420 } |
| 1421 | 1421 |
| 1422 String AXNodeObject::AriaAutoComplete() const { | 1422 String AXNodeObject::AriaAutoComplete() const { |
| 1423 if (RoleValue() != kComboBoxRole) | 1423 if (RoleValue() != kComboBoxRole) |
| 1424 return String(); | 1424 return String(); |
| 1425 | 1425 |
| 1426 const AtomicString& aria_auto_complete = | 1426 const AtomicString& aria_auto_complete = |
| 1427 GetAOMPropertyOrARIAAttribute(AOMStringProperty::kAutocomplete).Lower(); | 1427 GetAOMPropertyOrARIAAttribute(AOMStringProperty::kAutocomplete) |
| 1428 .DeprecatedLower(); |
| 1428 | 1429 |
| 1429 if (aria_auto_complete == "inline" || aria_auto_complete == "list" || | 1430 if (aria_auto_complete == "inline" || aria_auto_complete == "list" || |
| 1430 aria_auto_complete == "both") | 1431 aria_auto_complete == "both") |
| 1431 return aria_auto_complete; | 1432 return aria_auto_complete; |
| 1432 | 1433 |
| 1433 return String(); | 1434 return String(); |
| 1434 } | 1435 } |
| 1435 | 1436 |
| 1436 void AXNodeObject::Markers(Vector<DocumentMarker::MarkerType>& marker_types, | 1437 void AXNodeObject::Markers(Vector<DocumentMarker::MarkerType>& marker_types, |
| 1437 Vector<AXRange>& marker_ranges) const { | 1438 Vector<AXRange>& marker_ranges) const { |
| (...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3267 return String(); | 3268 return String(); |
| 3268 return ToTextControlElement(node)->StrippedPlaceholder(); | 3269 return ToTextControlElement(node)->StrippedPlaceholder(); |
| 3269 } | 3270 } |
| 3270 | 3271 |
| 3271 DEFINE_TRACE(AXNodeObject) { | 3272 DEFINE_TRACE(AXNodeObject) { |
| 3272 visitor->Trace(node_); | 3273 visitor->Trace(node_); |
| 3273 AXObject::Trace(visitor); | 3274 AXObject::Trace(visitor); |
| 3274 } | 3275 } |
| 3275 | 3276 |
| 3276 } // namespace blink | 3277 } // namespace blink |
| OLD | NEW |