Chromium Code Reviews| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 271 | 271 |
| 272 // AXPlatformNodeBase overrides. | 272 // AXPlatformNodeBase overrides. |
| 273 void Dispose() override; | 273 void Dispose() override; |
| 274 | 274 |
| 275 private: | 275 private: |
| 276 int MSAARole(); | 276 int MSAARole(); |
| 277 std::string StringOverrideForMSAARole(); | 277 std::string StringOverrideForMSAARole(); |
| 278 | 278 |
| 279 int MSAAState(); | 279 int MSAAState(); |
| 280 int MSAAEvent(ui::AXEvent event); | 280 int MSAAEvent(ui::AXEvent event); |
| 281 bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const; | |
|
dmazzoni
2017/06/26 17:18:24
It looks like these can either be static, or
maybe
dougt
2017/06/27 04:49:51
I'll do this as a follow up. Also see CL 296245300
| |
| 282 bool ShouldNodeHaveFocusableState(const AXNodeData& data) const; | |
| 281 | 283 |
| 282 HRESULT GetStringAttributeAsBstr( | 284 HRESULT GetStringAttributeAsBstr( |
| 283 ui::AXStringAttribute attribute, | 285 ui::AXStringAttribute attribute, |
| 284 BSTR* value_bstr) const; | 286 BSTR* value_bstr) const; |
| 285 | 287 |
| 286 void AddAlertTarget(); | 288 void AddAlertTarget(); |
| 287 void RemoveAlertTarget(); | 289 void RemoveAlertTarget(); |
| 288 | 290 |
| 289 // Return the text to use for IAccessibleText. | 291 // Return the text to use for IAccessibleText. |
| 290 base::string16 TextForIAccessibleText(); | 292 base::string16 TextForIAccessibleText(); |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 308 // should be performed on a particular child ID, rather than this object. | 310 // should be performed on a particular child ID, rather than this object. |
| 309 // This method tries to figure out the target object from |var_id| and | 311 // This method tries to figure out the target object from |var_id| and |
| 310 // returns a pointer to the target object if it exists, otherwise nullptr. | 312 // returns a pointer to the target object if it exists, otherwise nullptr. |
| 311 // Does not return a new reference. | 313 // Does not return a new reference. |
| 312 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); | 314 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); |
| 313 }; | 315 }; |
| 314 | 316 |
| 315 } // namespace ui | 317 } // namespace ui |
| 316 | 318 |
| 317 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ | 319 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ |
| OLD | NEW |