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_WIN_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ |
6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ | 6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_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 <vector> | 14 #include <vector> |
14 | 15 |
15 #include "chrome/browser/browser_accessibility_manager_win.h" | 16 #include "chrome/browser/browser_accessibility_manager_win.h" |
16 #include "ia2_api_all.h" // Generated | 17 #include "ia2_api_all.h" // Generated |
17 #include "webkit/glue/webaccessibility.h" | 18 #include "webkit/glue/webaccessibility.h" |
18 | 19 |
19 using webkit_glue::WebAccessibility; | 20 using webkit_glue::WebAccessibility; |
20 | 21 |
21 //////////////////////////////////////////////////////////////////////////////// | 22 //////////////////////////////////////////////////////////////////////////////// |
22 // | 23 // |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 // and it's removed from our accessibility tree, a client may still be | 391 // and it's removed from our accessibility tree, a client may still be |
391 // holding onto a pointer to this object, so we mark it as inactive | 392 // holding onto a pointer to this object, so we mark it as inactive |
392 // so that calls to any of this object's methods immediately return | 393 // so that calls to any of this object's methods immediately return |
393 // failure. | 394 // failure. |
394 bool instance_active_; | 395 bool instance_active_; |
395 | 396 |
396 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 397 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
397 }; | 398 }; |
398 | 399 |
399 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ | 400 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |