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

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

Issue 2742533003: Add a window property to associate RWHVA with its child AX tree ID (Closed)
Patch Set: Rename to SetMainFrameAXTreeID Created 3 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 4d368eb27b6e1c9e7a45b7b8c48b744624f1f5e0..0a5450f62c1e6535ee7102e1738f07fa8306e748 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -1968,6 +1968,9 @@ void RenderFrameHostImpl::OnAccessibilityEvents(
RenderWidgetHostViewBase* view = GetViewForAccessibility();
+ if (frame_tree_node_->IsMainFrame() && view)
+ view->UpdateAXTreeID(GetAXTreeID());
sky 2017/03/09 01:04:44 SetMainFrameAXTreeID
dmazzoni 2017/03/10 21:47:09 Done.
+
AccessibilityMode accessibility_mode = delegate_->GetAccessibilityMode();
if ((accessibility_mode != AccessibilityModeOff) && view && is_active()) {
if (accessibility_mode & ACCESSIBILITY_MODE_FLAG_NATIVE_APIS)
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698