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

Unified Diff: third_party/WebKit/public/web/WebAXObject.h

Issue 2055903002: Expose an interface to generate a unique accessibility ID. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf_2_engine_fixes
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebAXObject.h
diff --git a/third_party/WebKit/public/web/WebAXObject.h b/third_party/WebKit/public/web/WebAXObject.h
index 124f6ceffebbd699ebd7583d52a1e35aa35bb10a..49c0a7955ace9c37acf6939d7e7341ec6bee578e 100644
--- a/third_party/WebKit/public/web/WebAXObject.h
+++ b/third_party/WebKit/public/web/WebAXObject.h
@@ -93,6 +93,10 @@ public:
BLINK_EXPORT int axID() const;
+ // Get a new AXID that's not used by any accessibility node in this process, for when the
+ // client needs to insert additional nodes into the accessibility tree.
+ BLINK_EXPORT int generateAXID() const;
+
// Update layout on the underlying tree, and return true if this object is
// still valid (not detached). Note that calling this method
// can cause other WebAXObjects to become invalid, too,
« no previous file with comments | « third_party/WebKit/Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698