| 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_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ |
| 6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_H_ | 6 #define CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 #include <oleacc.h> | 10 #include <oleacc.h> |
| 11 | 11 |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/scoped_comptr_win.h" | 14 #include "base/scoped_comptr_win.h" |
| 15 #include "chrome/browser/browser_accessibility_manager.h" | 15 #include "chrome/browser/browser_accessibility_manager_win.h" |
| 16 #include "ia2_api_all.h" // Generated | 16 #include "ia2_api_all.h" // Generated |
| 17 #include "webkit/glue/webaccessibility.h" | 17 #include "webkit/glue/webaccessibility.h" |
| 18 | 18 |
| 19 using webkit_glue::WebAccessibility; | 19 using webkit_glue::WebAccessibility; |
| 20 | 20 |
| 21 //////////////////////////////////////////////////////////////////////////////// | 21 //////////////////////////////////////////////////////////////////////////////// |
| 22 // | 22 // |
| 23 // BrowserAccessibility | 23 // BrowserAccessibility |
| 24 // | 24 // |
| 25 // Class implementing the MSAA IAccessible COM interface for the | 25 // Class implementing the MSAA IAccessible COM interface for the |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 // COM objects are reference-counted. When we're done with this object | 389 // COM objects are reference-counted. When we're done with this object |
| 390 // and it's removed from our accessibility tree, a client may still be | 390 // 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 | 391 // 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 | 392 // so that calls to any of this object's methods immediately return |
| 393 // failure. | 393 // failure. |
| 394 bool instance_active_; | 394 bool instance_active_; |
| 395 | 395 |
| 396 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 396 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
| 397 }; | 397 }; |
| 398 | 398 |
| 399 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_H_ | 399 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |