Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(180)

Side by Side Diff: ui/accessibility/platform/ax_platform_node_win.h

Issue 2864953002: Split out the MSCOM pieces of BrowserAccessibilityWin into a seperate class. (Closed)
Patch Set: follow up comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_base.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « ui/accessibility/platform/ax_platform_node_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698