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 25 matching lines...) Expand all Loading... |
36 #include "core/html/HTMLFrameElementBase.h" | 36 #include "core/html/HTMLFrameElementBase.h" |
37 #include "core/html/HTMLInputElement.h" | 37 #include "core/html/HTMLInputElement.h" |
38 #include "core/html/HTMLLabelElement.h" | 38 #include "core/html/HTMLLabelElement.h" |
39 #include "core/html/HTMLLegendElement.h" | 39 #include "core/html/HTMLLegendElement.h" |
40 #include "core/html/HTMLSelectElement.h" | 40 #include "core/html/HTMLSelectElement.h" |
41 #include "core/html/HTMLTextAreaElement.h" | 41 #include "core/html/HTMLTextAreaElement.h" |
42 #include "core/rendering/RenderObject.h" | 42 #include "core/rendering/RenderObject.h" |
43 #include "platform/UserGestureIndicator.h" | 43 #include "platform/UserGestureIndicator.h" |
44 #include "wtf/text/StringBuilder.h" | 44 #include "wtf/text/StringBuilder.h" |
45 | 45 |
46 using namespace std; | |
47 | 46 |
48 namespace WebCore { | 47 namespace WebCore { |
49 | 48 |
50 using namespace HTMLNames; | 49 using namespace HTMLNames; |
51 | 50 |
52 AXNodeObject::AXNodeObject(Node* node) | 51 AXNodeObject::AXNodeObject(Node* node) |
53 : AXObject() | 52 : AXObject() |
54 , m_ariaRole(UnknownRole) | 53 , m_ariaRole(UnknownRole) |
55 , m_childrenDirty(false) | 54 , m_childrenDirty(false) |
56 #ifndef NDEBUG | 55 #ifndef NDEBUG |
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1789 useTextUnderElement = true; | 1788 useTextUnderElement = true; |
1790 | 1789 |
1791 if (useTextUnderElement) { | 1790 if (useTextUnderElement) { |
1792 String text = textUnderElement(); | 1791 String text = textUnderElement(); |
1793 if (!text.isEmpty()) | 1792 if (!text.isEmpty()) |
1794 textOrder.append(AccessibilityText(text, ChildrenText)); | 1793 textOrder.append(AccessibilityText(text, ChildrenText)); |
1795 } | 1794 } |
1796 } | 1795 } |
1797 | 1796 |
1798 } // namespace WebCore | 1797 } // namespace WebCore |
OLD | NEW |