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

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

Issue 2967493005: Use MSAA_Role directly from BrowserAccessibility. (Closed)
Patch Set: Change tests to match internal ax tree. Created 3 years, 5 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 3c9cf34a81fb39aac8b7090765a5ce15f092d153..38ffb05cdc5bc07b7009738343182139540c8abb 100644
--- a/ui/accessibility/platform/ax_platform_node_win.h
+++ b/ui/accessibility/platform/ax_platform_node_win.h
@@ -268,16 +268,18 @@ class AX_EXPORT __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2"))
protected:
AXPlatformNodeWin();
+
int MSAAState();
+ int MSAARole();
+ std::string StringOverrideForMSAARole();
+
// AXPlatformNodeBase overrides.
void Dispose() override;
private:
- int MSAARole();
- std::string StringOverrideForMSAARole();
-
int MSAAEvent(ui::AXEvent event);
+ bool IsWebAreaForPresentationalIframe();
bool ShouldNodeHaveReadonlyState(const AXNodeData& data) const;
bool ShouldNodeHaveFocusableState(const AXNodeData& data) const;
@@ -312,6 +314,9 @@ class AX_EXPORT __declspec(uuid("26f5641a-246d-457b-a96d-07f3fae6acf2"))
// returns a pointer to the target object if it exists, otherwise nullptr.
// Does not return a new reference.
AXPlatformNodeWin* GetTargetFromChildID(const VARIANT& var_id);
+
+ // Returns true if this node is in a treegrid.
+ bool IsInTreeGrid();
};
} // namespace ui
« no previous file with comments | « content/test/data/accessibility/html/select-expected-win.txt ('k') | ui/accessibility/platform/ax_platform_node_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698