| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
| 6 #define CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 6 #define CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
| 12 #include "base/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
| 13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 14 #include "chrome/common/render_messages_params.h" | 14 #include "chrome/common/render_messages_params.h" |
| 15 #include "gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
| 16 #include "webkit/glue/webaccessibility.h" | 16 #include "webkit/glue/webaccessibility.h" |
| 17 | 17 |
| 18 class BrowserAccessibility; | 18 class BrowserAccessibility; |
| 19 #if defined(OS_WIN) | 19 #if defined(OS_WIN) |
| 20 class BrowserAccessibilityManagerWin; | 20 class BrowserAccessibilityManagerWin; |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 using webkit_glue::WebAccessibility; | 23 using webkit_glue::WebAccessibility; |
| 24 | 24 |
| 25 // Class that can perform actions on behalf of the BrowserAccessibilityManager. | 25 // Class that can perform actions on behalf of the BrowserAccessibilityManager. |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 // we use internally here. | 172 // we use internally here. |
| 173 base::hash_map<int32, int32> renderer_id_to_child_id_map_; | 173 base::hash_map<int32, int32> renderer_id_to_child_id_map_; |
| 174 | 174 |
| 175 // A mapping from child IDs to BrowserAccessibility objects. | 175 // A mapping from child IDs to BrowserAccessibility objects. |
| 176 base::hash_map<int32, BrowserAccessibility*> child_id_map_; | 176 base::hash_map<int32, BrowserAccessibility*> child_id_map_; |
| 177 | 177 |
| 178 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); | 178 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 #endif // CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ | 181 #endif // CHROME_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_H_ |
| OLD | NEW |