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

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

Issue 77453013: Add an accessibility alert for incorrect use of some accelerators. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to make windows happy. Created 7 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/chrome_shell_delegate_views.cc
diff --git a/chrome/browser/ui/ash/chrome_shell_delegate_views.cc b/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
index 440ed0a829885a45ac56a9c21c4cbcb6ee6488cc..1a915aa14b4abae04bf5cbf04455df42a2182bde 100644
--- a/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
+++ b/chrome/browser/ui/ash/chrome_shell_delegate_views.cc
@@ -10,6 +10,7 @@
#include "ash/system/tray/default_system_tray_delegate.h"
#include "ash/wm/window_util.h"
#include "base/command_line.h"
+#include "chrome/browser/accessibility/accessibility_events.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/prefs/session_startup_pref.h"
#include "chrome/browser/profiles/profile_manager.h"
@@ -122,6 +123,14 @@ class EmptyAccessibilityDelegate : public ash::AccessibilityDelegate {
virtual void SilenceSpokenFeedback() const OVERRIDE {
}
+ virtual void TriggerAccessibilityAlert(
+ ash::AccessibilityAlert alert) OVERRIDE {
+ }
+
+ ash::AccessibilityAlert GetLastAccessibilityAlert() OVERRIDE {
oshima 2013/11/22 03:01:40 virtual
Albert Bodenhamer 2013/11/22 17:40:36 Done.
+ return ash::A11Y_ALERT_NONE;
+ }
+
private:
DISALLOW_COPY_AND_ASSIGN(EmptyAccessibilityDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698