OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/blink_ax_tree_source.h" | 5 #include "content/renderer/accessibility/blink_ax_tree_source.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 #include "third_party/WebKit/public/web/WebAXObject.h" | 27 #include "third_party/WebKit/public/web/WebAXObject.h" |
28 #include "third_party/WebKit/public/web/WebDocument.h" | 28 #include "third_party/WebKit/public/web/WebDocument.h" |
29 #include "third_party/WebKit/public/web/WebElement.h" | 29 #include "third_party/WebKit/public/web/WebElement.h" |
30 #include "third_party/WebKit/public/web/WebFormControlElement.h" | 30 #include "third_party/WebKit/public/web/WebFormControlElement.h" |
31 #include "third_party/WebKit/public/web/WebFrame.h" | 31 #include "third_party/WebKit/public/web/WebFrame.h" |
32 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 32 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
33 #include "third_party/WebKit/public/web/WebNode.h" | 33 #include "third_party/WebKit/public/web/WebNode.h" |
34 #include "third_party/WebKit/public/web/WebPlugin.h" | 34 #include "third_party/WebKit/public/web/WebPlugin.h" |
35 #include "third_party/WebKit/public/web/WebPluginContainer.h" | 35 #include "third_party/WebKit/public/web/WebPluginContainer.h" |
36 #include "third_party/WebKit/public/web/WebView.h" | 36 #include "third_party/WebKit/public/web/WebView.h" |
| 37 #include "ui/accessibility/ax_enums.h" |
37 | 38 |
38 using base::ASCIIToUTF16; | 39 using base::ASCIIToUTF16; |
39 using base::UTF16ToUTF8; | 40 using base::UTF16ToUTF8; |
40 using blink::WebAXObject; | 41 using blink::WebAXObject; |
41 using blink::WebDocument; | 42 using blink::WebDocument; |
42 using blink::WebElement; | 43 using blink::WebElement; |
43 using blink::WebFrame; | 44 using blink::WebFrame; |
44 using blink::WebLocalFrame; | 45 using blink::WebLocalFrame; |
45 using blink::WebNode; | 46 using blink::WebNode; |
46 using blink::WebPlugin; | 47 using blink::WebPlugin; |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 } | 683 } |
683 } | 684 } |
684 | 685 |
685 blink::WebDocument BlinkAXTreeSource::GetMainDocument() const { | 686 blink::WebDocument BlinkAXTreeSource::GetMainDocument() const { |
686 if (render_frame_ && render_frame_->GetWebFrame()) | 687 if (render_frame_ && render_frame_->GetWebFrame()) |
687 return render_frame_->GetWebFrame()->document(); | 688 return render_frame_->GetWebFrame()->document(); |
688 return WebDocument(); | 689 return WebDocument(); |
689 } | 690 } |
690 | 691 |
691 } // namespace content | 692 } // namespace content |
OLD | NEW |