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_complete.h" | 5 #include "content/renderer/accessibility/renderer_accessibility_complete.h" |
6 | 6 |
7 #include <queue> | 7 #include <queue> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
11 #include "content/renderer/accessibility/accessibility_node_serializer.h" | 11 #include "content/renderer/accessibility/accessibility_node_serializer.h" |
12 #include "content/renderer/render_view_impl.h" | 12 #include "content/renderer/render_view_impl.h" |
13 #include "third_party/WebKit/public/web/WebAccessibilityObject.h" | 13 #include "third_party/WebKit/public/web/WebAccessibilityObject.h" |
14 #include "third_party/WebKit/public/web/WebDocument.h" | 14 #include "third_party/WebKit/public/web/WebDocument.h" |
15 #include "third_party/WebKit/public/web/WebFrame.h" | 15 #include "third_party/WebKit/public/web/WebFrame.h" |
16 #include "third_party/WebKit/public/web/WebInputElement.h" | 16 #include "third_party/WebKit/public/web/WebInputElement.h" |
17 #include "third_party/WebKit/public/web/WebNode.h" | 17 #include "third_party/WebKit/public/web/WebNode.h" |
18 #include "third_party/WebKit/public/web/WebView.h" | 18 #include "third_party/WebKit/public/web/WebView.h" |
19 | 19 |
20 using WebKit::WebAccessibilityNotification; | 20 using WebKit::WebAccessibilityNotification; |
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
704 render_view()->GetWebView()->clearFocusedNode(); | 704 render_view()->GetWebView()->clearFocusedNode(); |
705 else | 705 else |
706 obj.setFocused(true); | 706 obj.setFocused(true); |
707 } | 707 } |
708 | 708 |
709 void RendererAccessibilityComplete::OnFatalError() { | 709 void RendererAccessibilityComplete::OnFatalError() { |
710 CHECK(false) << "Invalid accessibility tree."; | 710 CHECK(false) << "Invalid accessibility tree."; |
711 } | 711 } |
712 | 712 |
713 } // namespace content | 713 } // namespace content |
OLD | NEW |