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/renderer_accessibility_focus_only.h" | 5 #include "content/renderer/accessibility/renderer_accessibility_focus_only.h" |
6 | 6 |
7 #include "content/common/accessibility_node_data.h" | 7 #include "content/common/accessibility_node_data.h" |
8 #include "content/renderer/render_view_impl.h" | 8 #include "content/renderer/render_view_impl.h" |
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" | 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
14 | 14 |
15 using WebKit::WebDocument; | 15 using WebKit::WebDocument; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 144 |
145 Send(new AccessibilityHostMsg_Notifications(routing_id(), notifications)); | 145 Send(new AccessibilityHostMsg_Notifications(routing_id(), notifications)); |
146 | 146 |
147 // Increment the id, wrap back when we get past a million. | 147 // Increment the id, wrap back when we get past a million. |
148 next_id_++; | 148 next_id_++; |
149 if (next_id_ > 1000000) | 149 if (next_id_ > 1000000) |
150 next_id_ = kInitialId; | 150 next_id_ = kInitialId; |
151 } | 151 } |
152 | 152 |
153 } // namespace content | 153 } // namespace content |
OLD | NEW |