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

Side by Side Diff: content/browser/accessibility/browser_accessibility_win.h

Issue 343653005: Fix IAccessible2 interface in views accessibility. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nvda_fix_2
Patch Set: Fix all COM_INTERFACE macros Created 6 years, 6 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 | « no previous file | ui/views/accessibility/native_view_accessibility_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 4
5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 5 #ifndef CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 6 #define CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 public IAccessibleValue, 53 public IAccessibleValue,
54 public IServiceProvider, 54 public IServiceProvider,
55 public ISimpleDOMDocument, 55 public ISimpleDOMDocument,
56 public ISimpleDOMNode, 56 public ISimpleDOMNode,
57 public ISimpleDOMText, 57 public ISimpleDOMText,
58 public IAccessibleEx, 58 public IAccessibleEx,
59 public IRawElementProviderSimple { 59 public IRawElementProviderSimple {
60 public: 60 public:
61 BEGIN_COM_MAP(BrowserAccessibilityWin) 61 BEGIN_COM_MAP(BrowserAccessibilityWin)
62 COM_INTERFACE_ENTRY2(IDispatch, IAccessible2) 62 COM_INTERFACE_ENTRY2(IDispatch, IAccessible2)
63 COM_INTERFACE_ENTRY2(IAccessible, IAccessible2) 63 COM_INTERFACE_ENTRY(IAccessible)
64 COM_INTERFACE_ENTRY2(IAccessibleText, IAccessibleHypertext)
65 COM_INTERFACE_ENTRY(IAccessible2) 64 COM_INTERFACE_ENTRY(IAccessible2)
66 COM_INTERFACE_ENTRY(IAccessibleApplication) 65 COM_INTERFACE_ENTRY(IAccessibleApplication)
David Tseng 2014/06/19 16:59:15 Not sure it tmatters now, but the order of the lis
66 COM_INTERFACE_ENTRY(IAccessibleEx)
67 COM_INTERFACE_ENTRY(IAccessibleHyperlink) 67 COM_INTERFACE_ENTRY(IAccessibleHyperlink)
68 COM_INTERFACE_ENTRY(IAccessibleHypertext) 68 COM_INTERFACE_ENTRY(IAccessibleHypertext)
69 COM_INTERFACE_ENTRY(IAccessibleImage) 69 COM_INTERFACE_ENTRY(IAccessibleImage)
70 COM_INTERFACE_ENTRY(IAccessibleTable) 70 COM_INTERFACE_ENTRY(IAccessibleTable)
71 COM_INTERFACE_ENTRY(IAccessibleTable2) 71 COM_INTERFACE_ENTRY(IAccessibleTable2)
72 COM_INTERFACE_ENTRY(IAccessibleTableCell) 72 COM_INTERFACE_ENTRY(IAccessibleTableCell)
73 COM_INTERFACE_ENTRY(IAccessibleText)
73 COM_INTERFACE_ENTRY(IAccessibleValue) 74 COM_INTERFACE_ENTRY(IAccessibleValue)
75 COM_INTERFACE_ENTRY(IRawElementProviderSimple)
74 COM_INTERFACE_ENTRY(IServiceProvider) 76 COM_INTERFACE_ENTRY(IServiceProvider)
75 COM_INTERFACE_ENTRY(ISimpleDOMDocument) 77 COM_INTERFACE_ENTRY(ISimpleDOMDocument)
76 COM_INTERFACE_ENTRY(ISimpleDOMNode) 78 COM_INTERFACE_ENTRY(ISimpleDOMNode)
77 COM_INTERFACE_ENTRY(ISimpleDOMText) 79 COM_INTERFACE_ENTRY(ISimpleDOMText)
78 COM_INTERFACE_ENTRY(IAccessibleEx)
79 COM_INTERFACE_ENTRY(IRawElementProviderSimple)
80 END_COM_MAP() 80 END_COM_MAP()
81 81
82 // Represents a non-static text node in IAccessibleHypertext. This character 82 // Represents a non-static text node in IAccessibleHypertext. This character
83 // is embedded in the response to IAccessibleText::get_text, indicating the 83 // is embedded in the response to IAccessibleText::get_text, indicating the
84 // position where a non-static text child object appears. 84 // position where a non-static text child object appears.
85 CONTENT_EXPORT static const base::char16 kEmbeddedCharacter[]; 85 CONTENT_EXPORT static const base::char16 kEmbeddedCharacter[];
86 86
87 // Mappings from roles and states to human readable strings. Initialize 87 // Mappings from roles and states to human readable strings. Initialize
88 // with |InitializeStringMaps|. 88 // with |InitializeStringMaps|.
89 static std::map<int32, base::string16> role_string_map; 89 static std::map<int32, base::string16> role_string_map;
(...skipping 803 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 // Give BrowserAccessibility::Create access to our constructor. 893 // Give BrowserAccessibility::Create access to our constructor.
894 friend class BrowserAccessibility; 894 friend class BrowserAccessibility;
895 friend class BrowserAccessibilityRelation; 895 friend class BrowserAccessibilityRelation;
896 896
897 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); 897 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin);
898 }; 898 };
899 899
900 } // namespace content 900 } // namespace content
901 901
902 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ 902 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/accessibility/native_view_accessibility_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698