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

Unified Diff: ui/accessibility/platform/ax_platform_node_win.h

Issue 2806093002: Forward AXPlatformNodeWin calls to the right child. (Closed)
Patch Set: Convert get_accChild Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/platform/ax_platform_node_win.h
diff --git a/ui/accessibility/platform/ax_platform_node_win.h b/ui/accessibility/platform/ax_platform_node_win.h
index 7daa45f3da4704f001dce44ebcee7a33e8179cf2..284cd4efd3a80f343b684fe64973326aa82d7037 100644
--- a/ui/accessibility/platform/ax_platform_node_win.h
+++ b/ui/accessibility/platform/ax_platform_node_win.h
@@ -302,6 +302,13 @@ class AX_EXPORT __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2"))
IA2TextBoundaryType ia2_boundary,
LONG start_offset,
ui::TextBoundaryDirection direction);
+
+ // Many MSAA methods take a var_id parameter indicating that the operation
+ // should be performed on a particular child ID, rather than this object.
+ // This method tries to figure out the target object from |var_id| and
+ // returns a pointer to the target object if it exists, otherwise nullptr.
+ // Does not return a new reference.
+ AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id);
};
} // namespace ui
« no previous file with comments | « no previous file | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | ui/accessibility/platform/ax_platform_node_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698