| 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 1373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1384 case ButtonRole: | 1384 case ButtonRole: |
| 1385 case PopUpButtonRole: | 1385 case PopUpButtonRole: |
| 1386 case CheckBoxRole: | 1386 case CheckBoxRole: |
| 1387 case RadioButtonRole: | 1387 case RadioButtonRole: |
| 1388 case TabRole: | 1388 case TabRole: |
| 1389 case ToggleButtonRole: | 1389 case ToggleButtonRole: |
| 1390 case ListBoxOptionRole: | 1390 case ListBoxOptionRole: |
| 1391 case ScrollBarRole: | 1391 case ScrollBarRole: |
| 1392 return false; | 1392 return false; |
| 1393 case StaticTextRole: | 1393 case StaticTextRole: |
| 1394 if (!axObjectCache()->inlineTextBoxAccessibility()) | 1394 if (!axObjectCache()->inlineTextBoxAccessibilityEnabled()) |
| 1395 return false; | 1395 return false; |
| 1396 default: | 1396 default: |
| 1397 return true; | 1397 return true; |
| 1398 } | 1398 } |
| 1399 } | 1399 } |
| 1400 | 1400 |
| 1401 Element* AXNodeObject::actionElement() const | 1401 Element* AXNodeObject::actionElement() const |
| 1402 { | 1402 { |
| 1403 Node* node = this->node(); | 1403 Node* node = this->node(); |
| 1404 if (!node) | 1404 if (!node) |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1695 float range = maxValueForRange() - minValueForRange(); | 1695 float range = maxValueForRange() - minValueForRange(); |
| 1696 float value = valueForRange(); | 1696 float value = valueForRange(); |
| 1697 | 1697 |
| 1698 value += range * (percentChange / 100); | 1698 value += range * (percentChange / 100); |
| 1699 setValue(String::number(value)); | 1699 setValue(String::number(value)); |
| 1700 | 1700 |
| 1701 axObjectCache()->postNotification(node(), AXObjectCache::AXValueChanged, tru
e); | 1701 axObjectCache()->postNotification(node(), AXObjectCache::AXValueChanged, tru
e); |
| 1702 } | 1702 } |
| 1703 | 1703 |
| 1704 } // namespace blink | 1704 } // namespace blink |
| OLD | NEW |