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 <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/scoped_comptr_win.h" | |
16 #include "chrome/browser/browser_accessibility_manager_win.h" | 15 #include "chrome/browser/browser_accessibility_manager_win.h" |
17 #include "ia2_api_all.h" // Generated | 16 #include "ia2_api_all.h" // Generated |
18 #include "webkit/glue/webaccessibility.h" | 17 #include "webkit/glue/webaccessibility.h" |
19 | 18 |
20 using webkit_glue::WebAccessibility; | 19 using webkit_glue::WebAccessibility; |
21 | 20 |
22 //////////////////////////////////////////////////////////////////////////////// | 21 //////////////////////////////////////////////////////////////////////////////// |
23 // | 22 // |
24 // BrowserAccessibility | 23 // BrowserAccessibility |
25 // | 24 // |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 // 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 |
392 // 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 |
393 // 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 |
394 // failure. | 393 // failure. |
395 bool instance_active_; | 394 bool instance_active_; |
396 | 395 |
397 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); | 396 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibility); |
398 }; | 397 }; |
399 | 398 |
400 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ | 399 #endif // CHROME_BROWSER_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |