| 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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 case MenuItemCheckBoxRole: | 412 case MenuItemCheckBoxRole: |
| 413 case MenuItemRadioRole: | 413 case MenuItemRadioRole: |
| 414 return true; | 414 return true; |
| 415 default: | 415 default: |
| 416 return false; | 416 return false; |
| 417 } | 417 } |
| 418 } | 418 } |
| 419 | 419 |
| 420 bool AXObject::isPasswordFieldAndShouldHideValue() const { | 420 bool AXObject::isPasswordFieldAndShouldHideValue() const { |
| 421 Settings* settings = getDocument()->settings(); | 421 Settings* settings = getDocument()->settings(); |
| 422 if (!settings || settings->accessibilityPasswordValuesEnabled()) | 422 if (!settings || settings->getAccessibilityPasswordValuesEnabled()) |
| 423 return false; | 423 return false; |
| 424 | 424 |
| 425 return isPasswordField(); | 425 return isPasswordField(); |
| 426 } | 426 } |
| 427 | 427 |
| 428 bool AXObject::isClickable() const { | 428 bool AXObject::isClickable() const { |
| 429 switch (roleValue()) { | 429 switch (roleValue()) { |
| 430 case ButtonRole: | 430 case ButtonRole: |
| 431 case CheckBoxRole: | 431 case CheckBoxRole: |
| 432 case ColorWellRole: | 432 case ColorWellRole: |
| (...skipping 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1738 } | 1738 } |
| 1739 | 1739 |
| 1740 DEFINE_TRACE(AXObject) { | 1740 DEFINE_TRACE(AXObject) { |
| 1741 visitor->trace(m_children); | 1741 visitor->trace(m_children); |
| 1742 visitor->trace(m_parent); | 1742 visitor->trace(m_parent); |
| 1743 visitor->trace(m_cachedLiveRegionRoot); | 1743 visitor->trace(m_cachedLiveRegionRoot); |
| 1744 visitor->trace(m_axObjectCache); | 1744 visitor->trace(m_axObjectCache); |
| 1745 } | 1745 } |
| 1746 | 1746 |
| 1747 } // namespace blink | 1747 } // namespace blink |
| OLD | NEW |