| 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 #include "build/build_config.h" |
| 9 |
| 10 #if defined(OS_WIN) |
| 11 // TODO(port): For the moment, this whole file is skipped because it uses COM |
| 12 // interfaces etc. |
| 13 |
| 8 #include <oleacc.h> | 14 #include <oleacc.h> |
| 9 #include <hash_map> | 15 #include <hash_map> |
| 10 | 16 |
| 11 #include "chrome/common/render_messages.h" | 17 #include "chrome/common/render_messages.h" |
| 12 | 18 |
| 13 class WebView; | 19 class WebView; |
| 14 | 20 |
| 15 template <typename T> class COMPtr; | 21 template <typename T> class COMPtr; |
| 16 | 22 |
| 17 typedef stdext::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; | 23 typedef stdext::hash_map<int, scoped_refptr<IAccessible> > IntToIAccessibleMap; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // pointer to its id (int). Needed for reverse lookup, to ensure unnecessary | 66 // pointer to its id (int). Needed for reverse lookup, to ensure unnecessary |
| 61 // duplicate entries are not created in the IntToIAccessibleMap (above). | 67 // duplicate entries are not created in the IntToIAccessibleMap (above). |
| 62 IAccessibleToIntMap iaccessible_to_int_map_; | 68 IAccessibleToIntMap iaccessible_to_int_map_; |
| 63 | 69 |
| 64 // Unique identifier for retrieving an IAccessible from the page's hashmap. | 70 // Unique identifier for retrieving an IAccessible from the page's hashmap. |
| 65 int iaccessible_id_; | 71 int iaccessible_id_; |
| 66 | 72 |
| 67 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); | 73 DISALLOW_COPY_AND_ASSIGN(GlueAccessibility); |
| 68 }; | 74 }; |
| 69 | 75 |
| 76 #else // defined(OS_WIN) |
| 77 |
| 78 class GlueAccessibility { |
| 79 }; |
| 80 |
| 81 #endif |
| 82 |
| 70 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ | 83 #endif // WEBKIT_GLUE_GLUE_ACCESSIBILITY_H_ |
| OLD | NEW |