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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.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
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 204d1ae2ccd0a89065280aaa808879b84ff03356..621fdd4d73f53e703078c840e417fa2528040d04 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"
@@ -1146,6 +1147,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