| 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 | 11 |
| 12 #include <oleacc.h> | 12 #include <oleacc.h> |
| 13 | 13 |
| 14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 15 #include "third_party/iaccessible2/ia2_api_all.h" | 15 #include "third_party/iaccessible2/ia2_api_all.h" |
| 16 #include "ui/base/accessibility/accessible_view_state.h" | 16 #include "ui/base/accessibility/accessible_view_state.h" |
| 17 #include "ui/views/controls/native/native_view_host.h" | 17 #include "ui/views/controls/native/native_view_host.h" |
| 18 #include "views/view.h" | 18 #include "ui/views/view.h" |
| 19 | 19 |
| 20 namespace ui { | 20 namespace ui { |
| 21 enum TextBoundaryDirection; | 21 enum TextBoundaryDirection; |
| 22 enum TextBoundaryType; | 22 enum TextBoundaryType; |
| 23 } | 23 } |
| 24 | 24 |
| 25 // Note: do not put NativeViewAccessibilityWin in the namespace "views"; | 25 // Note: do not put NativeViewAccessibilityWin in the namespace "views"; |
| 26 // Visual Studio 2005 does not allow an ATL::CComObject symbol in a namespace. | 26 // Visual Studio 2005 does not allow an ATL::CComObject symbol in a namespace. |
| 27 | 27 |
| 28 //////////////////////////////////////////////////////////////////////////////// | 28 //////////////////////////////////////////////////////////////////////////////// |
| (...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 // A unique id for each object, needed for IAccessible2. | 346 // A unique id for each object, needed for IAccessible2. |
| 347 long unique_id_; | 347 long unique_id_; |
| 348 | 348 |
| 349 // Next unique id to assign. | 349 // Next unique id to assign. |
| 350 static long next_unique_id_; | 350 static long next_unique_id_; |
| 351 | 351 |
| 352 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); | 352 DISALLOW_COPY_AND_ASSIGN(NativeViewAccessibilityWin); |
| 353 }; | 353 }; |
| 354 | 354 |
| 355 #endif // VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ | 355 #endif // VIEWS_ACCESSIBILITY_NATIVE_VIEW_ACCESSIBILITY_WIN_H_ |
| OLD | NEW |