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

Unified Diff: chrome/browser/ui/ash/accessibility/automation_manager_ash.cc

Issue 667713006: Implement automatic load of composed/embedded automation trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix UAF Created 6 years, 1 month 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/ash/accessibility/automation_manager_ash.cc
diff --git a/chrome/browser/ui/ash/accessibility/automation_manager_ash.cc b/chrome/browser/ui/ash/accessibility/automation_manager_ash.cc
index 0e225560ccf4dd0fddfff39a74872d830776dd2a..ff3132df83318859104908e832604604a0d2a336 100644
--- a/chrome/browser/ui/ash/accessibility/automation_manager_ash.cc
+++ b/chrome/browser/ui/ash/accessibility/automation_manager_ash.cc
@@ -44,8 +44,6 @@ void AutomationManagerAsh::HandleEvent(BrowserContext* context,
return;
}
- // TODO(dtseng): Events should only be delivered to extensions with the
- // desktop permission.
views::Widget* widget = view->GetWidget();
if (!widget)
return;
@@ -83,7 +81,8 @@ void AutomationManagerAsh::SetSelection(int32 id, int32 start, int32 end) {
current_tree_->SetSelection(id, start, end);
}
-AutomationManagerAsh::AutomationManagerAsh() : enabled_(false) {}
+AutomationManagerAsh::AutomationManagerAsh() : enabled_(false) {
+}
AutomationManagerAsh::~AutomationManagerAsh() {}

Powered by Google App Engine
This is Rietveld 408576698