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

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

Issue 2981083002: Migrate BrowserAccessibility windows unique id handling to AXPlatformNodeWin. (Closed)
Patch Set: Android fix. I was hoping I could get rid of this. Someday though! 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.h
diff --git a/ui/accessibility/platform/ax_platform_node.h b/ui/accessibility/platform/ax_platform_node.h
index 7204c23aa884b031f962973aa268a9e2b7656420..526efe440dcdc310b4c021f88c6700ab7ae7be29 100644
--- a/ui/accessibility/platform/ax_platform_node.h
+++ b/ui/accessibility/platform/ax_platform_node.h
@@ -30,6 +30,9 @@ class AX_EXPORT AXPlatformNode {
static AXPlatformNode* FromNativeViewAccessible(
gfx::NativeViewAccessible accessible);
+ // Return the node with the given unique id.
+ static AXPlatformNode* GetFromUniqueId(int32_t unique_id);
+
// Call Destroy rather than deleting this, because the subclass may
// use reference counting.
virtual void Destroy();
@@ -50,8 +53,9 @@ class AX_EXPORT AXPlatformNode {
AXPlatformNode();
virtual ~AXPlatformNode();
- virtual AXPlatformNode* GetFromUniqueId(int32_t unique_id);
+ virtual int32_t unique_id() const;
+ private:
int32_t unique_id_;
};

Powered by Google App Engine
This is Rietveld 408576698