| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ | 5 #ifndef UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ |
| 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ | 6 #define UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ |
| 7 | 7 |
| 8 #include <atlbase.h> | 8 #include <atlbase.h> |
| 9 #include <atlcom.h> | 9 #include <atlcom.h> |
| 10 #include <oleacc.h> | 10 #include <oleacc.h> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 GetIAccessible2UsageObserverList(); | 34 GetIAccessible2UsageObserverList(); |
| 35 | 35 |
| 36 class AX_EXPORT __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2")) | 36 class AX_EXPORT __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2")) |
| 37 AXPlatformNodeWin | 37 AXPlatformNodeWin |
| 38 : public NON_EXPORTED_BASE(CComObjectRootEx<CComMultiThreadModel>), | 38 : public NON_EXPORTED_BASE(CComObjectRootEx<CComMultiThreadModel>), |
| 39 public IDispatchImpl<IAccessible2_2, | 39 public IDispatchImpl<IAccessible2_2, |
| 40 &IID_IAccessible2, | 40 &IID_IAccessible2, |
| 41 &LIBID_IAccessible2Lib>, | 41 &LIBID_IAccessible2Lib>, |
| 42 public IAccessibleText, | 42 public IAccessibleText, |
| 43 public IServiceProvider, | 43 public IServiceProvider, |
| 44 public NON_EXPORTED_BASE(AXPlatformNodeBase) { | 44 public AXPlatformNodeBase { |
| 45 public: | 45 public: |
| 46 BEGIN_COM_MAP(AXPlatformNodeWin) | 46 BEGIN_COM_MAP(AXPlatformNodeWin) |
| 47 COM_INTERFACE_ENTRY2(IDispatch, IAccessible2_2) | 47 COM_INTERFACE_ENTRY2(IDispatch, IAccessible2_2) |
| 48 COM_INTERFACE_ENTRY(AXPlatformNodeWin) | 48 COM_INTERFACE_ENTRY(AXPlatformNodeWin) |
| 49 COM_INTERFACE_ENTRY(IAccessible) | 49 COM_INTERFACE_ENTRY(IAccessible) |
| 50 COM_INTERFACE_ENTRY(IAccessible2) | 50 COM_INTERFACE_ENTRY(IAccessible2) |
| 51 COM_INTERFACE_ENTRY(IAccessible2_2) | 51 COM_INTERFACE_ENTRY(IAccessible2_2) |
| 52 COM_INTERFACE_ENTRY(IAccessibleText) | 52 COM_INTERFACE_ENTRY(IAccessibleText) |
| 53 COM_INTERFACE_ENTRY(IServiceProvider) | 53 COM_INTERFACE_ENTRY(IServiceProvider) |
| 54 END_COM_MAP() | 54 END_COM_MAP() |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 // should be performed on a particular child ID, rather than this object. | 306 // should be performed on a particular child ID, rather than this object. |
| 307 // This method tries to figure out the target object from |var_id| and | 307 // This method tries to figure out the target object from |var_id| and |
| 308 // returns a pointer to the target object if it exists, otherwise nullptr. | 308 // returns a pointer to the target object if it exists, otherwise nullptr. |
| 309 // Does not return a new reference. | 309 // Does not return a new reference. |
| 310 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); | 310 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); |
| 311 }; | 311 }; |
| 312 | 312 |
| 313 } // namespace ui | 313 } // namespace ui |
| 314 | 314 |
| 315 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ | 315 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ |
| OLD | NEW |