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

Side by Side Diff: ui/accessibility/platform/ax_platform_node_win.h

Issue 2909853002: Forward BrowserAccessibility get_accRole to AXPlatformNode. (Closed)
Patch Set: some of dmazzoni's comments addressed Created 3 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
OLDNEW
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
267 void** object) override; 267 void** object) override;
268 268
269 protected: 269 protected:
270 AXPlatformNodeWin(); 270 AXPlatformNodeWin();
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();
278
277 int MSAAState(); 279 int MSAAState();
278 int MSAAEvent(ui::AXEvent event); 280 int MSAAEvent(ui::AXEvent event);
279 281
280 HRESULT GetStringAttributeAsBstr( 282 HRESULT GetStringAttributeAsBstr(
281 ui::AXStringAttribute attribute, 283 ui::AXStringAttribute attribute,
282 BSTR* value_bstr) const; 284 BSTR* value_bstr) const;
283 285
284 void AddAlertTarget(); 286 void AddAlertTarget();
285 void RemoveAlertTarget(); 287 void RemoveAlertTarget();
286 288
(...skipping 19 matching lines...) Expand all
306 // should be performed on a particular child ID, rather than this object. 308 // should be performed on a particular child ID, rather than this object.
307 // This method tries to figure out the target object from |var_id| and 309 // This method tries to figure out the target object from |var_id| and
308 // returns a pointer to the target object if it exists, otherwise nullptr. 310 // returns a pointer to the target object if it exists, otherwise nullptr.
309 // Does not return a new reference. 311 // Does not return a new reference.
310 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id); 312 AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id);
311 }; 313 };
312 314
313 } // namespace ui 315 } // namespace ui
314 316
315 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_ 317 #endif // UI_ACCESSIBILITY_PLATFORM_AX_PLATFORM_NODE_WIN_H_
OLDNEW
« no previous file with comments | « content/browser/accessibility/browser_accessibility_com_win.cc ('k') | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698