| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 if (headingLevel()) | 241 if (headingLevel()) |
| 242 return HeadingRole; | 242 return HeadingRole; |
| 243 if (isHTMLDivElement(*node())) | 243 if (isHTMLDivElement(*node())) |
| 244 return DivRole; | 244 return DivRole; |
| 245 if (isHTMLParagraphElement(*node())) | 245 if (isHTMLParagraphElement(*node())) |
| 246 return ParagraphRole; | 246 return ParagraphRole; |
| 247 if (isHTMLLabelElement(*node())) | 247 if (isHTMLLabelElement(*node())) |
| 248 return LabelRole; | 248 return LabelRole; |
| 249 if (isHTMLDListElement(*node())) | 249 if (isHTMLDListElement(*node())) |
| 250 return DescriptionListRole; | 250 return DescriptionListRole; |
| 251 if (node()->isElementNode() && node()->hasTagName(blockquoteTag)) |
| 252 return BlockquoteRole; |
| 251 if (node()->isElementNode() && node()->hasTagName(figcaptionTag)) | 253 if (node()->isElementNode() && node()->hasTagName(figcaptionTag)) |
| 252 return FigcaptionRole; | 254 return FigcaptionRole; |
| 253 if (node()->isElementNode() && node()->hasTagName(figureTag)) | 255 if (node()->isElementNode() && node()->hasTagName(figureTag)) |
| 254 return FigureRole; | 256 return FigureRole; |
| 255 if (node()->isElementNode() && toElement(node())->isFocusable()) | 257 if (node()->isElementNode() && toElement(node())->isFocusable()) |
| 256 return GroupRole; | 258 return GroupRole; |
| 257 if (isHTMLAnchorElement(*node()) && isClickable()) | 259 if (isHTMLAnchorElement(*node()) && isClickable()) |
| 258 return LinkRole; | 260 return LinkRole; |
| 259 if (isHTMLIFrameElement(*node())) | 261 if (isHTMLIFrameElement(*node())) |
| 260 return IframeRole; | 262 return IframeRole; |
| (...skipping 1482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1743 float range = maxValueForRange() - minValueForRange(); | 1745 float range = maxValueForRange() - minValueForRange(); |
| 1744 float value = valueForRange(); | 1746 float value = valueForRange(); |
| 1745 | 1747 |
| 1746 value += range * (percentChange / 100); | 1748 value += range * (percentChange / 100); |
| 1747 setValue(String::number(value)); | 1749 setValue(String::number(value)); |
| 1748 | 1750 |
| 1749 axObjectCache()->postNotification(node(), AXObjectCache::AXValueChanged, tru
e); | 1751 axObjectCache()->postNotification(node(), AXObjectCache::AXValueChanged, tru
e); |
| 1750 } | 1752 } |
| 1751 | 1753 |
| 1752 } // namespace blink | 1754 } // namespace blink |
| OLD | NEW |