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 | 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 COM_INTERFACE_ENTRY(ISimpleDOMDocument) | 75 COM_INTERFACE_ENTRY(ISimpleDOMDocument) |
76 COM_INTERFACE_ENTRY(ISimpleDOMNode) | 76 COM_INTERFACE_ENTRY(ISimpleDOMNode) |
77 COM_INTERFACE_ENTRY(ISimpleDOMText) | 77 COM_INTERFACE_ENTRY(ISimpleDOMText) |
78 COM_INTERFACE_ENTRY(IAccessibleEx) | 78 COM_INTERFACE_ENTRY(IAccessibleEx) |
79 COM_INTERFACE_ENTRY(IRawElementProviderSimple) | 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 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; |
90 static std::map<int32, base::string16> state_string_map; | 90 static std::map<int32, base::string16> state_string_map; |
91 | 91 |
92 CONTENT_EXPORT BrowserAccessibilityWin(); | 92 CONTENT_EXPORT BrowserAccessibilityWin(); |
93 | 93 |
94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); | 94 CONTENT_EXPORT virtual ~BrowserAccessibilityWin(); |
95 | 95 |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 // Give BrowserAccessibility::Create access to our constructor. | 898 // Give BrowserAccessibility::Create access to our constructor. |
899 friend class BrowserAccessibility; | 899 friend class BrowserAccessibility; |
900 friend class BrowserAccessibilityRelation; | 900 friend class BrowserAccessibilityRelation; |
901 | 901 |
902 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); | 902 DISALLOW_COPY_AND_ASSIGN(BrowserAccessibilityWin); |
903 }; | 903 }; |
904 | 904 |
905 } // namespace content | 905 } // namespace content |
906 | 906 |
907 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ | 907 #endif // CONTENT_BROWSER_ACCESSIBILITY_BROWSER_ACCESSIBILITY_WIN_H_ |
OLD | NEW |