| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| 7 | 7 |
| 8 #include <oleacc.h> | 8 #include <oleacc.h> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. | 86 // TODO(dmazzoni): remove once http://crbug.com/113483 is fixed. |
| 87 BrowserAccessibilityWin* tracked_scroll_object_; | 87 BrowserAccessibilityWin* tracked_scroll_object_; |
| 88 | 88 |
| 89 // A mapping from the Windows-specific unique IDs (unique within the | 89 // A mapping from the Windows-specific unique IDs (unique within the |
| 90 // browser process) to accessibility ids within this page. | 90 // browser process) to accessibility ids within this page. |
| 91 base::hash_map<long, int32> unique_id_to_ax_id_map_; | 91 base::hash_map<long, int32> unique_id_to_ax_id_map_; |
| 92 | 92 |
| 93 // Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion. | 93 // Owned by its parent; OnAccessibleHwndDeleted gets called upon deletion. |
| 94 LegacyRenderWidgetHostHWND* accessible_hwnd_; | 94 LegacyRenderWidgetHostHWND* accessible_hwnd_; |
| 95 | 95 |
| 96 // Set to true if we need to fire a focus event on the root as soon as |
| 97 // possible. |
| 98 bool focus_event_on_root_needed_; |
| 99 |
| 96 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); | 100 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManagerWin); |
| 97 }; | 101 }; |
| 98 | 102 |
| 99 } // namespace content | 103 } // namespace content |
| 100 | 104 |
| 101 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 105 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| OLD | NEW |