| 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_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| 6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlcom.h> | 10 #include <atlcom.h> |
| 11 #include <oleacc.h> | 11 #include <oleacc.h> |
| 12 | 12 |
| 13 #include <map> | |
| 14 | |
| 15 #include "base/hash_tables.h" | 13 #include "base/hash_tables.h" |
| 16 #include "base/scoped_comptr_win.h" | 14 #include "base/scoped_comptr_win.h" |
| 17 #include "base/scoped_ptr.h" | 15 #include "base/scoped_ptr.h" |
| 18 #include "webkit/glue/webaccessibility.h" | 16 #include "webkit/glue/webaccessibility.h" |
| 19 | 17 |
| 20 class BrowserAccessibility; | 18 class BrowserAccessibility; |
| 21 | 19 |
| 22 class BrowserAccessibilityFactory { | 20 class BrowserAccessibilityFactory { |
| 23 public: | 21 public: |
| 24 virtual ~BrowserAccessibilityFactory() {} | 22 virtual ~BrowserAccessibilityFactory() {} |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 | 108 |
| 111 // The next child ID to use; static so that they're global to the process. | 109 // The next child ID to use; static so that they're global to the process. |
| 112 // Screen readers cache these IDs to see if they've seen the same object | 110 // Screen readers cache these IDs to see if they've seen the same object |
| 113 // before so we should avoid reusing them within the same project. | 111 // before so we should avoid reusing them within the same project. |
| 114 static LONG next_child_id_; | 112 static LONG next_child_id_; |
| 115 | 113 |
| 116 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); | 114 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); |
| 117 }; | 115 }; |
| 118 | 116 |
| 119 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 117 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| OLD | NEW |