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 #ifndef WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ | 5 #ifndef WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ |
6 #define WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ | 6 #define WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ |
7 | 7 |
8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
9 #include <oleacc.h> | 9 #include <oleacc.h> |
10 #else | 10 #else |
11 // TODO(port): need an equivalent of | 11 // TODO(port): need an equivalent of |
12 // http://msdn.microsoft.com/en-us/library/accessibility.iaccessible.aspx | 12 // http://msdn.microsoft.com/en-us/library/accessibility.iaccessible.aspx |
13 class IAccessible; | 13 class IAccessible; |
14 #endif | 14 #endif |
15 | 15 |
16 #include "base/hash_tables.h" | 16 #include "base/hash_tables.h" |
17 #include "chrome/common/render_messages.h" | 17 #include "base/ref_counted.h" |
18 | 18 |
19 class WebView; | 19 class WebView; |
| 20 struct ViewMsg_Accessibility_In_Params; |
| 21 struct ViewHostMsg_Accessibility_Out_Params; |
20 | 22 |
21 template <typename T> class COMPtr; | 23 template <typename T> class COMPtr; |
22 | 24 |
23 typedef base::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; | 25 typedef base::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; |
24 typedef base::hash_map<IAccessible*, int> IAccessibleToIntMap; | 26 typedef base::hash_map<IAccessible*, int> IAccessibleToIntMap; |
25 | 27 |
26 //////////////////////////////////////////////////////////////////////////////// | 28 //////////////////////////////////////////////////////////////////////////////// |
27 // | 29 // |
28 // GlueAccessibility | 30 // GlueAccessibility |
29 // | 31 // |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // duplicate entries are not created in the IntToIAccessibleMap (above). | 69 // duplicate entries are not created in the IntToIAccessibleMap (above). |
68 IAccessibleToIntMap iaccessible_to_int_map_; | 70 IAccessibleToIntMap iaccessible_to_int_map_; |
69 | 71 |
70 // Unique identifier for retrieving an IAccessible from the page's hashmap. | 72 // Unique identifier for retrieving an IAccessible from the page's hashmap. |
71 int iaccessible_id_; | 73 int iaccessible_id_; |
72 | 74 |
73 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); | 75 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); |
74 }; | 76 }; |
75 | 77 |
76 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ | 78 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ |
OLD | NEW |