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 "base/ref_counted.h" | 17 #include "chrome/common/render_messages.h" |
18 | 18 |
19 class WebView; | 19 class WebView; |
20 struct ViewMsg_Accessibility_In_Params; | |
21 struct ViewHostMsg_Accessibility_Out_Params; | |
22 | 20 |
23 template <typename T> class COMPtr; | 21 template <typename T> class COMPtr; |
24 | 22 |
25 typedef base::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; | 23 typedef base::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; |
26 typedef base::hash_map<IAccessible*, int> IAccessibleToIntMap; | 24 typedef base::hash_map<IAccessible*, int> IAccessibleToIntMap; |
27 | 25 |
28 //////////////////////////////////////////////////////////////////////////////// | 26 //////////////////////////////////////////////////////////////////////////////// |
29 // | 27 // |
30 // GlueAccessibility | 28 // GlueAccessibility |
31 // | 29 // |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // duplicate entries are not created in the IntToIAccessibleMap (above). | 67 // duplicate entries are not created in the IntToIAccessibleMap (above). |
70 IAccessibleToIntMap iaccessible_to_int_map_; | 68 IAccessibleToIntMap iaccessible_to_int_map_; |
71 | 69 |
72 // Unique identifier for retrieving an IAccessible from the page's hashmap. | 70 // Unique identifier for retrieving an IAccessible from the page's hashmap. |
73 int iaccessible_id_; | 71 int iaccessible_id_; |
74 | 72 |
75 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); | 73 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); |
76 }; | 74 }; |
77 | 75 |
78 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ | 76 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ |
OLD | NEW |