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

Unified Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 1815933002: Fix WebView accessibility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename set_browser_plugin_embedder_ax_tree_id Created 4 years, 9 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: content/browser/frame_host/render_frame_host_impl.h
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h
index 44eac3254b6f9ccb87032d65952f10c625dbed4c..a790034d2d0338afbc8f4b6ad55ce6ef5d237fd0 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -458,6 +458,12 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
// a renderer.
void UpdateAXTreeData();
+ // Set the AX tree ID of the embedder RFHI, if this is a browser plugin guest.
+ void set_browser_plugin_embedder_ax_tree_id(
+ AXTreeIDRegistry::AXTreeID ax_tree_id) {
+ browser_plugin_embedder_ax_tree_id_ = ax_tree_id;
+ }
+
// Send a message to the render process to change text track style settings.
void SetTextTrackSettings(const FrameMsg_TextTrackSettings_Params& params);
@@ -884,6 +890,9 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
// The last AXContentTreeData for this frame received from the RenderFrame.
AXContentTreeData ax_content_tree_data_;
+ // The AX tree ID of the embedder, if this is a browser plugin guest.
+ AXTreeIDRegistry::AXTreeID browser_plugin_embedder_ax_tree_id_;
+
// The mapping from callback id to corresponding callback for pending
// accessibility tree snapshot calls created by RequestAXTreeSnapshot.
std::map<int, AXTreeSnapshotCallback> ax_tree_snapshot_callbacks_;
« no previous file with comments | « content/browser/accessibility/browser_accessibility_manager.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698