| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 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 978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 | 989 |
| 990 bool AXObject::isMultiline() const | 990 bool AXObject::isMultiline() const |
| 991 { | 991 { |
| 992 Node* node = this->getNode(); | 992 Node* node = this->getNode(); |
| 993 if (!node) | 993 if (!node) |
| 994 return false; | 994 return false; |
| 995 | 995 |
| 996 if (isHTMLTextAreaElement(*node)) | 996 if (isHTMLTextAreaElement(*node)) |
| 997 return true; | 997 return true; |
| 998 | 998 |
| 999 if (node->hasEditableStyle()) | 999 if (hasEditableStyle(*node)) |
| 1000 return true; | 1000 return true; |
| 1001 | 1001 |
| 1002 if (!isNativeTextControl() && !isNonNativeTextControl()) | 1002 if (!isNativeTextControl() && !isNonNativeTextControl()) |
| 1003 return false; | 1003 return false; |
| 1004 | 1004 |
| 1005 return equalIgnoringCase(getAttribute(aria_multilineAttr), "true"); | 1005 return equalIgnoringCase(getAttribute(aria_multilineAttr), "true"); |
| 1006 } | 1006 } |
| 1007 | 1007 |
| 1008 bool AXObject::ariaPressedIsPresent() const | 1008 bool AXObject::ariaPressedIsPresent() const |
| 1009 { | 1009 { |
| (...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1749 | 1749 |
| 1750 DEFINE_TRACE(AXObject) | 1750 DEFINE_TRACE(AXObject) |
| 1751 { | 1751 { |
| 1752 visitor->trace(m_children); | 1752 visitor->trace(m_children); |
| 1753 visitor->trace(m_parent); | 1753 visitor->trace(m_parent); |
| 1754 visitor->trace(m_cachedLiveRegionRoot); | 1754 visitor->trace(m_cachedLiveRegionRoot); |
| 1755 visitor->trace(m_axObjectCache); | 1755 visitor->trace(m_axObjectCache); |
| 1756 } | 1756 } |
| 1757 | 1757 |
| 1758 } // namespace blink | 1758 } // namespace blink |
| OLD | NEW |