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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 2774683002: Re-land: Add a window property to associate RWHVA with its child AX tree ID (Closed)
Patch Set: 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
Index: content/browser/renderer_host/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 391cc672798b32d3a790ecfc6083fc76802e2543..4671baa3839b84b8ad0abb056972049a13ba6bc6 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -63,6 +63,7 @@
#include "services/ui/public/interfaces/window_manager_constants.mojom.h"
#include "third_party/WebKit/public/platform/WebInputEvent.h"
#include "third_party/WebKit/public/web/WebCompositionUnderline.h"
+#include "ui/accessibility/platform/aura_window_properties.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/client/cursor_client_observer.h"
@@ -1151,6 +1152,11 @@ RenderWidgetHostViewAura::AccessibilityGetNativeViewAccessible() {
return NULL;
}
+void RenderWidgetHostViewAura::SetMainFrameAXTreeID(
+ ui::AXTreeIDRegistry::AXTreeID id) {
+ window_->SetProperty(ui::kChildAXTreeID, id);
+}
+
bool RenderWidgetHostViewAura::LockMouse() {
return event_handler_->LockMouse();
}

Powered by Google App Engine
This is Rietveld 408576698