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

Unified Diff: chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc

Issue 743273002: Various changes required to support ChromeVox Next to read Views and Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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/chrome_shell_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
index 73ebc916cd087a4cbbce919b1df542b7aef93924..6d44e95c87c2b4ae34d3a5e8e8a4617ddfa7b469 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate_chromeos.cc
@@ -23,6 +23,7 @@
#include "chrome/browser/signin/signin_error_notifier_factory_ash.h"
#include "chrome/browser/speech/tts_controller.h"
#include "chrome/browser/sync/sync_error_notifier_factory_ash.h"
+#include "chrome/browser/ui/ash/accessibility/automation_manager_ash.h"
#include "chrome/browser/ui/ash/chrome_new_window_delegate_chromeos.h"
#include "chrome/browser/ui/ash/media_delegate_chromeos.h"
#include "chrome/browser/ui/ash/session_state_delegate_chromeos.h"
@@ -182,6 +183,8 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate {
profile, l10n_util::GetStringUTF8(IDS_A11Y_ALERT_WINDOW_NEEDED));
SendControlAccessibilityNotification(
ui::AX_EVENT_ALERT, &event);
+ AutomationManagerAsh::GetInstance()->HandleAlert(
+ profile, l10n_util::GetStringUTF8(IDS_A11Y_ALERT_WINDOW_NEEDED));
break;
}
case ui::A11Y_ALERT_WINDOW_OVERVIEW_MODE_ENTERED: {
@@ -190,6 +193,9 @@ class AccessibilityDelegateImpl : public ash::AccessibilityDelegate {
IDS_A11Y_ALERT_WINDOW_OVERVIEW_MODE_ENTERED));
SendControlAccessibilityNotification(
ui::AX_EVENT_ALERT, &event);
+ AutomationManagerAsh::GetInstance()->HandleAlert(
+ profile, l10n_util::GetStringUTF8(
+ IDS_A11Y_ALERT_WINDOW_OVERVIEW_MODE_ENTERED));
break;
}
case ui::A11Y_ALERT_NONE:
« no previous file with comments | « chrome/browser/ui/ash/accessibility/ax_root_obj_wrapper.cc ('k') | chrome/common/extensions/api/_manifest_features.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698