| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 5 #ifndef VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
| 6 #define VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 6 #define VIEWS_ACCESSIBILITY_NATIVE_VIEW_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 | |
| 12 #include <oleacc.h> | 11 #include <oleacc.h> |
| 13 | 12 |
| 14 #include "base/scoped_ptr.h" | 13 #include "base/scoped_ptr.h" |
| 14 #include "base/win/atlcheck.h" |
| 15 #include "ui/base/accessibility/accessible_view_state.h" | 15 #include "ui/base/accessibility/accessible_view_state.h" |
| 16 #include "views/controls/native/native_view_host.h" | 16 #include "views/controls/native/native_view_host.h" |
| 17 #include "views/view.h" | 17 #include "views/view.h" |
| 18 | 18 |
| 19 namespace views { | 19 namespace views { |
| 20 extern const char kViewsNativeHostPropForAccessibility[]; | 20 extern const char kViewsNativeHostPropForAccessibility[]; |
| 21 // Note: do not put NativeViewAccessibilityWin in the namespace "views"; | 21 // Note: do not put NativeViewAccessibilityWin in the namespace "views"; |
| 22 // Visual Studio 2005 does not allow an ATL::CComObject symbol in a namespace. | 22 // Visual Studio 2005 does not allow an ATL::CComObject symbol in a namespace. |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 // Give CComObject access to the class constructor. | 161 // Give CComObject access to the class constructor. |
| 162 template <class Base> friend class CComObject; | 162 template <class Base> friend class CComObject; |
| 163 | 163 |
| 164 // Member View needed for view-specific calls. | 164 // Member View needed for view-specific calls. |
| 165 views::View* view_; | 165 views::View* view_; |
| 166 | 166 |
| 167 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); | 167 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); |
| 168 }; | 168 }; |
| 169 | 169 |
| 170 #endif // VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 170 #endif // VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |