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 15 matching lines...) Expand all Loading... | |
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 #include "config.h" | 29 #include "config.h" |
30 #include "core/accessibility/AccessibilityNodeObject.h" | 30 #include "core/accessibility/AccessibilityNodeObject.h" |
31 | 31 |
32 #include "core/accessibility/AXObjectCache.h" | 32 #include "core/accessibility/AXObjectCache.h" |
33 #include "core/dom/NodeTraversal.h" | 33 #include "core/dom/NodeTraversal.h" |
34 #include "core/dom/Text.h" | 34 #include "core/dom/Text.h" |
35 #include "core/dom/UserGestureIndicator.h" | 35 #include "core/dom/UserGestureIndicator.h" |
36 #include "core/html/HTMLFormElement.h" | |
37 #include "core/html/HTMLFrameElementBase.h" | 36 #include "core/html/HTMLFrameElementBase.h" |
38 #include "core/html/HTMLInputElement.h" | 37 #include "core/html/HTMLInputElement.h" |
39 #include "core/html/HTMLLabelElement.h" | 38 #include "core/html/HTMLLabelElement.h" |
40 #include "core/html/HTMLSelectElement.h" | 39 #include "core/html/HTMLSelectElement.h" |
41 #include "core/html/HTMLTextAreaElement.h" | 40 #include "core/html/HTMLTextAreaElement.h" |
42 #include <wtf/StdLibExtras.h> | |
43 #include <wtf/text/StringBuilder.h> | 41 #include <wtf/text/StringBuilder.h> |
pdr.
2013/06/20 16:08:45
Can you quote these guys (here, and elsewhere)
Timothy Loh
2013/06/21 04:23:21
Done.
| |
44 #include <wtf/unicode/CharacterNames.h> | |
45 | 42 |
46 using namespace std; | 43 using namespace std; |
47 | 44 |
48 namespace WebCore { | 45 namespace WebCore { |
49 | 46 |
50 using namespace HTMLNames; | 47 using namespace HTMLNames; |
51 | 48 |
52 AccessibilityNodeObject::AccessibilityNodeObject(Node* node) | 49 AccessibilityNodeObject::AccessibilityNodeObject(Node* node) |
53 : AccessibilityObject() | 50 : AccessibilityObject() |
54 , m_ariaRole(UnknownRole) | 51 , m_ariaRole(UnknownRole) |
(...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1626 useTextUnderElement = true; | 1623 useTextUnderElement = true; |
1627 | 1624 |
1628 if (useTextUnderElement) { | 1625 if (useTextUnderElement) { |
1629 String text = textUnderElement(); | 1626 String text = textUnderElement(); |
1630 if (!text.isEmpty()) | 1627 if (!text.isEmpty()) |
1631 textOrder.append(AccessibilityText(text, ChildrenText)); | 1628 textOrder.append(AccessibilityText(text, ChildrenText)); |
1632 } | 1629 } |
1633 } | 1630 } |
1634 | 1631 |
1635 } // namespace WebCore | 1632 } // namespace WebCore |
OLD | NEW |