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" | |
21 #include "webkit/glue/webframe_impl.h" | 20 #include "webkit/glue/webframe_impl.h" |
22 #include "webkit/glue/webview_impl.h" | 21 #include "webkit/glue/webview_impl.h" |
23 | 22 |
24 // TODO: Remove this evil dependency on Chrome! | 23 // TODO: Remove this evil dependency on Chrome! |
25 #include "chrome/browser/iaccessible_function_ids.h" | 24 #include "chrome/browser/iaccessible_function_ids.h" |
26 | 25 |
27 // struct GlueAccessibility::GlueAccessibilityRoot | 26 // struct GlueAccessibility::GlueAccessibilityRoot |
28 struct GlueAccessibility::GlueAccessibilityRoot { | 27 struct GlueAccessibility::GlueAccessibilityRoot { |
29 GlueAccessibilityRoot() {} | 28 GlueAccessibilityRoot() {} |
30 | 29 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 int_to_iaccessible_map_.erase(it); | 274 int_to_iaccessible_map_.erase(it); |
276 | 275 |
277 if (iaccessible_id == 0) { | 276 if (iaccessible_id == 0) { |
278 // Invalidate root. | 277 // Invalidate root. |
279 root_->accessibility_root_ = 0; | 278 root_->accessibility_root_ = 0; |
280 } | 279 } |
281 } | 280 } |
282 | 281 |
283 return true; | 282 return true; |
284 } | 283 } |
OLD | NEW |