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/renderer_accessibility.h" | 5 #include "content/renderer/accessibility/renderer_accessibility.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <queue> | 10 #include <queue> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/location.h" | 13 #include "base/location.h" |
14 #include "base/single_thread_task_runner.h" | 14 #include "base/single_thread_task_runner.h" |
15 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
16 #include "base/threading/thread_task_runner_handle.h" | 16 #include "base/threading/thread_task_runner_handle.h" |
17 #include "build/build_config.h" | 17 #include "build/build_config.h" |
18 #include "content/common/accessibility_messages.h" | 18 #include "content/common/accessibility_messages.h" |
19 #include "content/renderer/accessibility/blink_ax_enum_conversion.h" | 19 #include "content/renderer/accessibility/blink_ax_enum_conversion.h" |
20 #include "content/renderer/render_frame_impl.h" | 20 #include "content/renderer/render_frame_impl.h" |
21 #include "content/renderer/render_view_impl.h" | 21 #include "content/renderer/render_view_impl.h" |
22 #include "third_party/WebKit/public/web/WebAXObject.h" | 22 #include "third_party/WebKit/public/web/WebAXObject.h" |
23 #include "third_party/WebKit/public/web/WebDocument.h" | 23 #include "third_party/WebKit/public/web/WebDocument.h" |
24 #include "third_party/WebKit/public/web/WebInputElement.h" | 24 #include "third_party/WebKit/public/web/WebInputElement.h" |
25 #include "third_party/WebKit/public/web/WebLocalFrame.h" | 25 #include "third_party/WebKit/public/web/WebLocalFrame.h" |
26 #include "third_party/WebKit/public/web/WebSettings.h" | 26 #include "third_party/WebKit/public/web/WebSettings.h" |
27 #include "third_party/WebKit/public/web/WebView.h" | 27 #include "third_party/WebKit/public/web/WebView.h" |
| 28 #include "ui/accessibility/ax_enums.h" |
28 | 29 |
29 using blink::WebAXObject; | 30 using blink::WebAXObject; |
30 using blink::WebDocument; | 31 using blink::WebDocument; |
31 using blink::WebLocalFrame; | 32 using blink::WebLocalFrame; |
32 using blink::WebNode; | 33 using blink::WebNode; |
33 using blink::WebPoint; | 34 using blink::WebPoint; |
34 using blink::WebRect; | 35 using blink::WebRect; |
35 using blink::WebScopedAXContext; | 36 using blink::WebScopedAXContext; |
36 using blink::WebSettings; | 37 using blink::WebSettings; |
37 using blink::WebView; | 38 using blink::WebView; |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 } | 607 } |
607 | 608 |
608 obj.showContextMenu(); | 609 obj.showContextMenu(); |
609 } | 610 } |
610 | 611 |
611 void RendererAccessibility::OnDestruct() { | 612 void RendererAccessibility::OnDestruct() { |
612 delete this; | 613 delete this; |
613 } | 614 } |
614 | 615 |
615 } // namespace content | 616 } // namespace content |
OLD | NEW |