| 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(); | 277 int32_t MSAA_IA2State(); |
| 278 | 278 |
| 279 int32_t MSAA_IA2Role(); |
| 280 |
| 279 // AXPlatformNodeBase overrides. | 281 // AXPlatformNodeBase overrides. |
| 280 void Dispose() override; | 282 void Dispose() override; |
| 281 | 283 |
| 282 private: | 284 private: |
| 283 int MSAAEvent(ui::AXEvent event); | 285 int MSAAEvent(ui::AXEvent event); |
| 284 bool IsWebAreaForPresentationalIframe(); | 286 bool IsWebAreaForPresentationalIframe(); |
| 285 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; | 287 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; |
| 286 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; | 288 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; |
| 287 | 289 |
| 288 HRESULT GetStringAttributeAsBstr( | 290 HRESULT GetStringAttributeAsBstr( |
| (...skipping 28 matching lines...) Expand all Loading... |
| 317 // Does not return a new reference. | 319 // Does not return a new reference. |
| 318 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); | 320 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); |
| 319 | 321 |
| 320 // Returns true if this node is in a treegrid. | 322 // Returns true if this node is in a treegrid. |
| 321 bool IsInTreeGrid(); | 323 bool IsInTreeGrid(); |
| 322 }; | 324 }; |
| 323 | 325 |
| 324 } // namespace ui | 326 } // namespace ui |
| 325 | 327 |
| 326 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ | 328 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ |
| OLD | NEW |