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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
267 void** object) override; | 267 void** object) override; |
268 | 268 |
269 protected: | 269 protected: |
270 AXPlatformNodeWin(); | 270 AXPlatformNodeWin(); |
271 | 271 |
272 int MSAAState(); | 272 int MSAAState(); |
273 | 273 |
274 int MSAARole(); | 274 int MSAARole(); |
275 std::string StringOverrideForMSAARole(); | 275 std::string StringOverrideForMSAARole(); |
276 | 276 |
277 int32_t MSAA_IA2State(); | |
dmazzoni
2017/07/06 22:54:57
Nit: I'd just call this IA2State, as MSAA usually
dougt
2017/07/11 20:59:27
Done.
| |
278 | |
277 // AXPlatformNodeBase overrides. | 279 // AXPlatformNodeBase overrides. |
278 void Dispose() override; | 280 void Dispose() override; |
279 | 281 |
280 private: | 282 private: |
281 int MSAAEvent(ui::AXEvent event); | 283 int MSAAEvent(ui::AXEvent event); |
282 bool IsWebAreaForPresentationalIframe(); | 284 bool IsWebAreaForPresentationalIframe(); |
283 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; | 285 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; |
284 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; | 286 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; |
285 | 287 |
286 HRESULT GetStringAttributeAsBstr( | 288 HRESULT GetStringAttributeAsBstr( |
(...skipping 28 matching lines...) Expand all Loading... | |
315 // Does not return a new reference. | 317 // Does not return a new reference. |
316 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); | 318 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); |
317 | 319 |
318 // Returns true if this node is in a treegrid. | 320 // Returns true if this node is in a treegrid. |
319 bool IsInTreeGrid(); | 321 bool IsInTreeGrid(); |
320 }; | 322 }; |
321 | 323 |
322 } // namespace ui | 324 } // namespace ui |
323 | 325 |
324 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ | 326 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ |
OLD | NEW |