OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 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 CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 // MSCOM (due to reference counting). However, such objects are invalid and | 47 // MSCOM (due to reference counting). However, such objects are invalid and |
48 // should gracefully fail by returning E_FAIL from all MSCOM methods. | 48 // should gracefully fail by returning E_FAIL from all MSCOM methods. |
49 // | 49 // |
50 //////////////////////////////////////////////////////////////////////////////// | 50 //////////////////////////////////////////////////////////////////////////////// |
51 class __declspec(uuid("562072fe-3390-43b1-9e2c-dd4118f5ac79")) | 51 class __declspec(uuid("562072fe-3390-43b1-9e2c-dd4118f5ac79")) |
52 BrowserAccessibilityComWin : public ui::AXPlatformNodeWin, | 52 BrowserAccessibilityComWin : public ui::AXPlatformNodeWin, |
53 public IAccessibleApplication, | 53 public IAccessibleApplication, |
54 public IAccessibleHyperlink, | 54 public IAccessibleHyperlink, |
55 public IAccessibleHypertext, | 55 public IAccessibleHypertext, |
56 public IAccessibleImage, | 56 public IAccessibleImage, |
57 public IAccessibleTable, | |
58 public IAccessibleTable2, | |
59 public IAccessibleTableCell, | |
60 public IAccessibleValue, | 57 public IAccessibleValue, |
61 public ISimpleDOMDocument, | 58 public ISimpleDOMDocument, |
62 public ISimpleDOMNode, | 59 public ISimpleDOMNode, |
63 public ISimpleDOMText, | 60 public ISimpleDOMText, |
64 public IAccessibleEx, | 61 public IAccessibleEx, |
65 public IRawElementProviderSimple { | 62 public IRawElementProviderSimple { |
66 public: | 63 public: |
67 BEGIN_COM_MAP(BrowserAccessibilityComWin) | 64 BEGIN_COM_MAP(BrowserAccessibilityComWin) |
68 COM_INTERFACE_ENTRY(IAccessibleAction) | 65 COM_INTERFACE_ENTRY(IAccessibleAction) |
69 COM_INTERFACE_ENTRY(IAccessibleApplication) | 66 COM_INTERFACE_ENTRY(IAccessibleApplication) |
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 | 986 |
990 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); | 987 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityComWin); |
991 }; | 988 }; |
992 | 989 |
993 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( | 990 CONTENT_EXPORT BrowserAccessibilityComWin* ToBrowserAccessibilityComWin( |
994 BrowserAccessibility* obj); | 991 BrowserAccessibility* obj); |
995 | 992 |
996 } // namespace content | 993 } // namespace content |
997 | 994 |
998 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ | 995 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_COM_WIN_H_ |
OLD | NEW |