| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_BASE_WIN_ACCESSIBILITY_MISC_UTILS_H_ | 4 #ifndef UI_BASE_WIN_ACCESSIBILITY_MISC_UTILS_H_ |
| 5 #define UI_BASE_WIN_ACCESSIBILITY_MISC_UTILS_H_ | 5 #define UI_BASE_WIN_ACCESSIBILITY_MISC_UTILS_H_ |
| 6 | 6 |
| 7 #include <atlbase.h> | 7 #include <atlbase.h> |
| 8 #include <atlcom.h> | 8 #include <atlcom.h> |
| 9 #include <UIAutomationCore.h> | 9 #include <UIAutomationCore.h> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "ui/base/ui_export.h" | 12 #include "ui/base/ui_base_export.h" |
| 13 | 13 |
| 14 namespace base { | 14 namespace base { |
| 15 namespace win { | 15 namespace win { |
| 16 | 16 |
| 17 // UIA Text provider implementation for edit controls. | 17 // UIA Text provider implementation for edit controls. |
| 18 class UI_EXPORT UIATextProvider | 18 class UI_BASE_EXPORT UIATextProvider |
| 19 : public NON_EXPORTED_BASE(CComObjectRootEx<CComMultiThreadModel>), | 19 : public NON_EXPORTED_BASE(CComObjectRootEx<CComMultiThreadModel>), |
| 20 public IValueProvider, | 20 public IValueProvider, |
| 21 public ITextProvider { | 21 public ITextProvider { |
| 22 public: | 22 public: |
| 23 BEGIN_COM_MAP(UIATextProvider) | 23 BEGIN_COM_MAP(UIATextProvider) |
| 24 COM_INTERFACE_ENTRY2(IUnknown, ITextProvider) | 24 COM_INTERFACE_ENTRY2(IUnknown, ITextProvider) |
| 25 COM_INTERFACE_ENTRY(IValueProvider) | 25 COM_INTERFACE_ENTRY(IValueProvider) |
| 26 COM_INTERFACE_ENTRY(ITextProvider) | 26 COM_INTERFACE_ENTRY(ITextProvider) |
| 27 END_COM_MAP() | 27 END_COM_MAP() |
| 28 | 28 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 } | 82 } |
| 83 | 83 |
| 84 private: | 84 private: |
| 85 bool editable_; | 85 bool editable_; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // win | 88 } // win |
| 89 } // base | 89 } // base |
| 90 | 90 |
| 91 #endif // UI_BASE_WIN_ACCESSIBILITY_MISC_UTILS_H_ | 91 #endif // UI_BASE_WIN_ACCESSIBILITY_MISC_UTILS_H_ |
| OLD | NEW |