OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_AUTOCOMPLETE_AUTOCOMPLETE_ACCESSIBILITY_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_ACCESSIBILITY_H_ |
6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_ACCESSIBILITY_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_ACCESSIBILITY_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 "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/scoped_comptr_win.h" | 14 #include "base/scoped_comptr_win.h" |
| 15 #include "base/win/atlcheck.h" |
15 | 16 |
16 class AutocompleteEditViewWin; | 17 class AutocompleteEditViewWin; |
17 | 18 |
18 //////////////////////////////////////////////////////////////////////////////// | 19 //////////////////////////////////////////////////////////////////////////////// |
19 // | 20 // |
20 // AutocompleteAccessibility | 21 // AutocompleteAccessibility |
21 // | 22 // |
22 // Class implementing the MSAA IAccessible COM interface for | 23 // Class implementing the MSAA IAccessible COM interface for |
23 // AutocompleteEditViewWin, providing accessibility to be used by screen | 24 // AutocompleteEditViewWin, providing accessibility to be used by screen |
24 // readers and other assistive technology (AT). | 25 // readers and other assistive technology (AT). |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // information. | 108 // information. |
108 ScopedComPtr<IAccessible> default_accessibility_server_; | 109 ScopedComPtr<IAccessible> default_accessibility_server_; |
109 | 110 |
110 private: | 111 private: |
111 const AutocompleteEditViewWin* edit_box_; | 112 const AutocompleteEditViewWin* edit_box_; |
112 | 113 |
113 DISALLOW_COPY_AND_ASSIGN(AutocompleteAccessibility); | 114 DISALLOW_COPY_AND_ASSIGN(AutocompleteAccessibility); |
114 }; | 115 }; |
115 | 116 |
116 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_ACCESSIBILITY_H_ | 117 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_ACCESSIBILITY_H_ |
OLD | NEW |