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

Unified Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc

Issue 2700103004: Initial support for accessibility actions on ARC. (Closed)
Patch Set: Rename cleanup. Created 3 years, 10 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: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
diff --git a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
index 06bfc0f172ca4a6c131908e5f44ce4aa609f4ea8..3ee579452b2fe058a0284d52e0cd5f6cbc83e65c 100644
--- a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
+++ b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
@@ -18,6 +18,7 @@
#include "content/public/browser/browser_context.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_enums.h"
+#include "ui/accessibility/ax_tree_id_registry.h"
#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/views/accessibility/ax_aura_obj_wrapper.h"
@@ -146,7 +147,9 @@ void AutomationManagerAura::OnChildWindowRemoved(
}
AutomationManagerAura::AutomationManagerAura()
- : enabled_(false), processing_events_(false) {}
+ : enabled_(false), processing_events_(false) {
+ ui::AXTreeIDRegistry::GetInstance()->SetDesktopHostDelegate(this);
+}
AutomationManagerAura::~AutomationManagerAura() {
}

Powered by Google App Engine
This is Rietveld 408576698