OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/accessibility_node_serializer.h" | 5 #include "content/renderer/accessibility_node_serializer.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" |
| 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
| 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" | 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityObjec
t.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityRole.
h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebAccessibilityRole.
h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocumentType.h" | 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocumentType.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFormControlElement
.h" |
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputElement.h" |
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" | |
22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" | |
23 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | |
24 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | |
25 | 25 |
26 using WebKit::WebAccessibilityRole; | 26 using WebKit::WebAccessibilityRole; |
27 using WebKit::WebAccessibilityObject; | 27 using WebKit::WebAccessibilityObject; |
28 using WebKit::WebDocument; | 28 using WebKit::WebDocument; |
29 using WebKit::WebDocumentType; | 29 using WebKit::WebDocumentType; |
30 using WebKit::WebElement; | 30 using WebKit::WebElement; |
31 using WebKit::WebNode; | 31 using WebKit::WebNode; |
32 using WebKit::WebVector; | 32 using WebKit::WebVector; |
33 | 33 |
34 namespace content { | 34 namespace content { |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 &dst->children.back(), | 607 &dst->children.back(), |
608 include_children); | 608 include_children); |
609 } else { | 609 } else { |
610 dst->indirect_child_ids.push_back(child_id); | 610 dst->indirect_child_ids.push_back(child_id); |
611 } | 611 } |
612 } | 612 } |
613 } | 613 } |
614 } | 614 } |
615 | 615 |
616 } // namespace content | 616 } // namespace content |
OLD | NEW |