| 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> | 13 #include <map> |
| 14 | 14 |
| 15 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
| 16 #include "base/scoped_comptr_win.h" | 16 #include "base/scoped_comptr_win.h" |
| 17 #include "base/scoped_ptr.h" | 17 #include "base/scoped_ptr.h" |
| 18 #include "webkit/glue/webaccessibility.h" | 18 #include "webkit/glue/webaccessibility.h" |
| 19 | 19 |
| 20 class BrowserAccessibility; | 20 class BrowserAccessibility; |
| 21 class RenderProcessHost; | |
| 22 class RenderWidgetHost; | |
| 23 | 21 |
| 24 class BrowserAccessibilityFactory { | 22 class BrowserAccessibilityFactory { |
| 25 public: | 23 public: |
| 26 virtual ~BrowserAccessibilityFactory() {} | 24 virtual ~BrowserAccessibilityFactory() {} |
| 27 | 25 |
| 28 // Create an instance of BrowserAccessibility and return a new | 26 // Create an instance of BrowserAccessibility and return a new |
| 29 // reference to it. | 27 // reference to it. |
| 30 virtual BrowserAccessibility* Create(); | 28 virtual BrowserAccessibility* Create(); |
| 31 }; | 29 }; |
| 32 | 30 |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 110 |
| 113 // The next child ID to use; static so that they're global to the process. | 111 // The next child ID to use; static so that they're global to the process. |
| 114 // Screen readers cache these IDs to see if they've seen the same object | 112 // Screen readers cache these IDs to see if they've seen the same object |
| 115 // before so we should avoid reusing them within the same project. | 113 // before so we should avoid reusing them within the same project. |
| 116 static LONG next_child_id_; | 114 static LONG next_child_id_; |
| 117 | 115 |
| 118 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); | 116 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityManager); |
| 119 }; | 117 }; |
| 120 | 118 |
| 121 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ | 119 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_MANAGER_WIN_H_ |
| OLD | NEW |