OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 <comdef.h> | 5 #include <comdef.h> |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 | 8 |
9 #pragma warning(push, 0) | 9 #pragma warning(push, 0) |
10 #include "AccessibleDocument.h" | 10 #include "AccessibleDocument.h" |
11 #include "AXObjectCache.h" | 11 #include "AXObjectCache.h" |
12 #include "Document.h" | 12 #include "Document.h" |
13 #include "Frame.h" | 13 #include "Frame.h" |
14 #pragma warning(pop) | 14 #pragma warning(pop) |
15 #undef LOG | 15 #undef LOG |
16 | 16 |
17 #include "webkit/glue/glue_accessibility.h" | 17 #include "webkit/glue/glue_accessibility.h" |
18 | 18 |
19 #include "base/ref_counted.h" | 19 #include "base/ref_counted.h" |
| 20 #include "chrome/common/render_messages.h" |
20 #include "webkit/glue/webframe_impl.h" | 21 #include "webkit/glue/webframe_impl.h" |
21 #include "webkit/glue/webview_impl.h" | 22 #include "webkit/glue/webview_impl.h" |
22 | 23 |
23 // TODO: Remove this evil dependency on Chrome! | 24 // TODO: Remove this evil dependency on Chrome! |
24 #include "chrome/browser/iaccessible_function_ids.h" | 25 #include "chrome/browser/iaccessible_function_ids.h" |
25 | 26 |
26 // struct GlueAccessibility::GlueAccessibilityRoot | 27 // struct GlueAccessibility::GlueAccessibilityRoot |
27 struct GlueAccessibility::GlueAccessibilityRoot { | 28 struct GlueAccessibility::GlueAccessibilityRoot { |
28 GlueAccessibilityRoot() {} | 29 GlueAccessibilityRoot() {} |
29 | 30 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 int_to_iaccessible_map_.erase(it); | 275 int_to_iaccessible_map_.erase(it); |
275 | 276 |
276 if (iaccessible_id == 0) { | 277 if (iaccessible_id == 0) { |
277 // Invalidate root. | 278 // Invalidate root. |
278 root_->accessibility_root_ = 0; | 279 root_->accessibility_root_ = 0; |
279 } | 280 } |
280 } | 281 } |
281 | 282 |
282 return true; | 283 return true; |
283 } | 284 } |
OLD | NEW |