| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 const ComputedStyle* style = m_layoutObject->style(); | 61 const ComputedStyle* style = m_layoutObject->style(); |
| 62 if (!style) | 62 if (!style) |
| 63 return AccessibilityOrientationHorizontal; | 63 return AccessibilityOrientationHorizontal; |
| 64 | 64 |
| 65 ControlPart styleAppearance = style->appearance(); | 65 ControlPart styleAppearance = style->appearance(); |
| 66 switch (styleAppearance) { | 66 switch (styleAppearance) { |
| 67 case SliderThumbHorizontalPart: | 67 case SliderThumbHorizontalPart: |
| 68 case SliderHorizontalPart: | 68 case SliderHorizontalPart: |
| 69 case MediaSliderPart: | 69 case MediaSliderPart: |
| 70 case MediaFullscreenVolumeSliderPart: | |
| 71 return AccessibilityOrientationHorizontal; | 70 return AccessibilityOrientationHorizontal; |
| 72 | 71 |
| 73 case SliderThumbVerticalPart: | 72 case SliderThumbVerticalPart: |
| 74 case SliderVerticalPart: | 73 case SliderVerticalPart: |
| 75 case MediaVolumeSliderPart: | 74 case MediaVolumeSliderPart: |
| 76 return AccessibilityOrientationVertical; | 75 return AccessibilityOrientationVertical; |
| 77 | 76 |
| 78 default: | 77 default: |
| 79 return AccessibilityOrientationHorizontal; | 78 return AccessibilityOrientationHorizontal; |
| 80 } | 79 } |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 DCHECK(thumbElement); | 146 DCHECK(thumbElement); |
| 148 return thumbElement->layoutObject(); | 147 return thumbElement->layoutObject(); |
| 149 } | 148 } |
| 150 | 149 |
| 151 bool AXSliderThumb::computeAccessibilityIsIgnored( | 150 bool AXSliderThumb::computeAccessibilityIsIgnored( |
| 152 IgnoredReasons* ignoredReasons) const { | 151 IgnoredReasons* ignoredReasons) const { |
| 153 return accessibilityIsIgnoredByDefault(ignoredReasons); | 152 return accessibilityIsIgnoredByDefault(ignoredReasons); |
| 154 } | 153 } |
| 155 | 154 |
| 156 } // namespace blink | 155 } // namespace blink |
| OLD | NEW |