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

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: Add browser test for focusing into a web view 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 885258c81657b8c1577eacaaade793d9b579287a..f8744c34a6eb99ef25f314bddd3a8cd1288f634a 100644
--- a/content/browser/frame_host/render_frame_host_impl.h
+++ b/content/browser/frame_host/render_frame_host_impl.h
@@ -470,6 +470,9 @@ 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 SetBrowserPluginEmbedderAXTreeID(AXTreeIDRegistry::AXTreeID ax_tree_id);
+
// Send a message to the render process to change text track style settings.
void SetTextTrackSettings(const FrameMsg_TextTrackSettings_Params& params);
@@ -892,6 +895,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_;

Powered by Google App Engine
This is Rietveld 408576698